What can you do to get your penis hard?

By doing something to it. Rubbing, actually having sex or many other things. Masturbation etc.