An erection is when your penis gets bigger, stands up, and gets harder. It happens when blood rushes into your penis and stays there. Your penis can't do this on its own. You usually get an erection when you feel excited or sexually aroused. That can happen if you see or think of something that turns you on, or if someone touches you in a way that feels good. Erections usually stop on their own, but you can make them go away quicker by thinking about something else or trying to move your body to take your mind off it.