Sexual activity is a complex interaction of sympathetic, parasympathetic, and somatic nerves.

The above taken from http://gwis2.circ.gwu.edu/~atkins/Neuroweb/sympathetic.html (to be rewritten to avoid copyright problems soon)

So, in summary, sexual arousal is all in your mind, erection is parasympathetic and ejaculation is sympathetic. Got it?