The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.
The time the dose should be taken and how long the effects last depend on the medication used. The most common side effect of these medications is a headache. However, there is a potential for certain dangerous drug interactions. Anyone prescribed this medication must let his doctor know about any medications he's on, and especially if he's taking nitrates (e.g., nitroglycerin spray, nitroglycerin pills, or nitroglycerin patch) for heart problems.
If you just got off solo, you might have to wait before you can hop into bed with your partner, says Dr. Brahmbhatt. It might have something to do with a spike in the hormone prolactin after you orgasm, according to a study published in the International Journal of Impotence Research. This hormone has been linked to difficulties maintaining an erection or even ejaculating.