For an erection to take place, nerves, blood vessels, hormones and the psyche must work in a complex way.