During arousal the following changes occur:
The penis becomes erect when it becomes full of blood. During sexual arousal your heart speeds up and a lot of this blood enters the penis. The increase in heart rate and the amount of blood in the penis causes the penis to prepare for sexual intercourse.