An erection happens when the brain sends a signal to the body to fill the penis with blood, making the penis harder. This reflex can happen because of a sexy thought, feeling or as a reaction to certain sights, sounds, smells or touch. Erections usually go away on their own or after ejaculation (releasing semen through the urethra). Erections can happen more often and unexpectedly during puberty.