Once you attain puberty, your body starts to produce sperm by the process called spermatogenesis. When you get sexual arousal, one of the nervous system (sympathetic nervous system) causes you erection and the other type of nervous system (parasympathetic nervous system ) assists in ejaculation.