Factors that mediate contraction in the penis include noradrenaline, endothelin-1, neuropeptide Y, prostanoids, angiotensin II, and others not yet identified. Factors that mediate relaxation include acetylcholine, nitric oxide (NO), vasoactive intestinal polypeptide, pituitary adenylyl cyclase–activating peptide, calcitonin gene–related peptide, adrenomedullin, adenosine triphosphate, and adenosine prostanoids.
Alprostadil is a potent vasodilator and smooth muscle relaxant identical to the naturally occurring PGE1. PGE1 binds with specific receptors on smooth muscle cells and activates intracellular adenylate cyclase to produce cAMP, which in turn induces tissue relaxation through a second messenger system (96). PGE1 is the only FDA approved form of intracavernosal therapy and is available commercailly as EDEX, or Caverject. Its efficacy was demonstrated in several clinical trials where the rate of responders ranged from 40% to 80% (97,98). The most common adverse event is penile pain, which is not related to the injection of the medication itself. In men with prolonged use the pain is usually self-limited (99).
Several pathways have been described to explain how information travels from the hypothalamus to the sacral autonomic centers. One pathway travels from the dorsomedial hypothalamus through the dorsal and central gray matter, descends to the locus ceruleus, and projects ventrally in the mesencephalic reticular formation. Input from the brain is conveyed through the dorsal spinal columns to the thoracolumbar and sacral autonomic nuclei.
The dorsal artery provides for engorgement of the glans during erection, whereas the bulbourethral artery supplies the bulb and the corpus spongiosum. The cavernous artery effects tumescence of the corpus cavernosum and thus is principally responsible for erection. The cavernous artery gives off many helicine arteries, which supply the trabecular erectile tissue and the sinusoids. These helicine arteries are contracted and tortuous in the flaccid state and become dilated and straight during erection. 
There are many circumstances that could lead a man to become sexually indifferent. Long-term relationships which become marked by routine, boredom and conflict represent one major culprit. It shouldn’t come as a surprise that if you’re not really interested in having sex anymore, you’re not likely to have an erection. What’s the brain science behind this?
Several pre-treatment factors have been described that may indicate success with PDE5i therapy. The presence of an upper motor neuron lesion up to T12 suggests a successful response, as well as requirement for a lower dosage of medication (62,68-71). Additionally, the presence of residual erections after injury or an incomplete SCI (ASI-A vs. ASIB-D) also improve the chance of PDE5i treatment success (59,67,68,71).
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
I think that a very powerful argument to young men who want to perform at the highest level is to point out the destructive nature of what they’re doing. If they’re having 18 drinks per week, if they’re having three, four, five drinks at any one time, they’re going to guarantee that their erections are not going to be at the highest level. I can’t tell you the number of men who come in saying, they went out, they had a date, they had a big dinner– which, by the way, is also not a great thing for erections, because all the blood is now going to your gut instead of to the genital area. And how important lifestyle changes are to improving your performance, as well, if not better, than the medications. So make certain that you exercise modestly, not excessively. Make certain that you have a smaller meal on an evening or a day that you want to have a sexual encounter, because you want the blood to go, once again, to the penile area and not to your gut. And really, the whole idea of stress– if you’re stressed out, if you’re worried about a lot of things, if you’re distracted, you can’t initiate that psychic stimulus to your spinal cord and then ultimately to your penis. So stress management is incredibly important.
Learn more about sex. If you have deep-rooted anxieties or guilt related to sex, these negative emotions might be causing your ED. Learning more about sex can be a good way to feel more comfortable with your body and better understand your needs in bed. Read up on sex techniques or take a sex-positive workshop as a way to open your mind to new possibilities and increase your comfort level.
Vascular damage may result from radiation therapy to the pelvis and prostate in the treatment of prostate cancer.  Both the blood vessels and the nerves to the penis may be affected. Radiation damage to the crura of the penis, which are highly susceptible to radiation damage, can induce ED. Data indicate that 50% of men undergoing radiation therapy lose erectile function within 5 years after completing therapy; fortunately, some respond to one of the PDE5 inhibitors.
The physical side effects of chemotherapy are usually temporary and resolve within one to two weeks after stopping the chemotherapy. However, chemotherapy agents, such as Ciplatin or Vincristine, may interfere with the nerves that control erection leading to possible impotence. Make sure you discuss potential side effects of cancer chemotherapy with your doctor or healthcare provider.
Erectile dysfunction (ED) is commonly called impotence. It’s a condition in which a man can’t achieve or maintain an erection during sexual performance. Symptoms may also include reduced sexual desire or libido. Your doctor is likely to diagnose you with ED if the condition lasts for more than a few weeks or months. ED affects as many as 30 million men in the United States.
There are risks to prosthetic surgery and patients are counselled before the procedure. If there is a post-operative infection, the implant will likely be removed. The devices are reliable, but in the case of mechanical malfunction, the device or a part of the device will need to be replaced surgically. If a penile prosthesis is removed, other non-surgical treatments may no longer work.