Erection
When a man is sexually aroused or stimulated (made sexually excited) by touch – for example, if he masturbates or another person touches him in a sexual way – the touching is picked up by nerves in the arteries of the corpus spongiosum penis and corpora cavernosa penis. The nerves then cause a chemical called nitric oxide to be released into the arteries. This makes the arteries dilate (become wider), and they fill up with blood. Thus, the corpus spongiosum penis and corpora cavernosa penis all fill with blood and become larger and harder. This makes the penis grow longer, thicker and harder. The corpora cavernosa penis press against blood vessels called veins that let blood flow out of the penis. Since less blood can flow out of the penis through the veins, more of it stays in the penis, which remains hard. During an erection, a valve stops urine from entering the urethra so that only semen flows along it. This is why it is difficult for a man to urinate when he is having an erection.