Erections occur in response to tactile, olfactory, and visual stimuli. The ability to achieve and maintain a full erection depends not only on the penile portion of the process but also on the status of the peripheral nerves, the integrity of the vascular supply, and biochemical events within the corpora. The autonomic nervous system is involved in erection, orgasm, and tumescence. The parasympathetic nervous system is primarily involved in sustaining and maintaining an erection, which is derived from S2-S4 nerve roots.
In 1983, Brindley injected the corpora of several SCI men with phentolamine (85). Two out of the three men had a sufficient erection produced. Since then multiple reports on the efficacy of intracavernosal therapy have been published using, phentolamine, papaverine, prostaglandin, vasoactive intestinal peptide (VIP), and these medications in combination (86-90). These medications have been found to be extremely effective for neurogenic ED due to their ability act locally and essentially bypassing neuronal pathways. Local therapies are usually considered second-line after PDE5i fail to elicit a desired response which can occur in about 25–30% of men with ED, in general (91). Furthermore, the locally delivered medications can be quite dangerous if not used appropriately as priapism and significant pain with injections can occur. These specific occurrences have been suggested as a reason for high discontinuation rates with intracavernosal therapy (92).
Penile implants - are generally used if physical damage (like an accident) makes the anatomical parts needed for an erection not work. These are inserted by surgery and can provide a permanent treatment choice if others fail to work. The implants can be semi-rigid or inflatable. They can be pretty expensive and are not usually available on the NHS.
Erectile dysfunation medications may not be suitable for you if you have been told not to have sex, not to engage in sexual activity/actions that widen your blood vessels, have low blood pressure (hypotension), have recently had a stroke, have unstable angina, have had a heart attack or have a history of non-arteritic anterior ischaemic optic neuropathy. Men with cardiovascular disease/anatomical issue with their penis/priapism/taking long-lasting alpha-blockers should use with caution and discuss with a doctor first. Do not mix with drugs/medications containing nitrates.
Risks associated with injection therapy including bleeding, pain with injection, penile pain, priapism, and corporal fibrosis (scarring inside of the corpora cavernosa). There is also concern that repetitive injections in the same area could cause scar tissue to build up in the tunica albuginea that could create penile curvature. Thus, doctors recommended that one alternate sides with injection and perform injections no more frequent than every other day.
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. 
Erectile dysfunction can occur as a side effect of medication taken for another health condition. Common culprits are high blood pressure meds, antidepressants, some diuretics, beta-blockers, heart medication, cholesterol meds, antipsychotic drugs, hormone drugs, corticosteroids, chemotherapy, and medication for male pattern baldness, among others.
Your doctor will ask you questions about your symptoms and health history. They may do tests to determine if your symptoms are caused by an underlying condition. You should expect a physical exam where your doctor will listen to your heart and lungs, check your blood pressure, and examine your testicles and penis. They may also recommend a rectal exam to check your prostate. Additionally, you may need blood or urine tests to rule out other conditions.
Alprostadil is injected into the side of penis with a very fine needle. It's of great value to have the first shot in the doctor's office before doing this on your own. Self-injection lessons should be given in your doctor's office by an experienced professional. The success rate for getting an erection firm enough to have sex is as high as 85% with this treatment. Many men who do not respond to oral PDE5 inhibitors can be ‘rescued' with ICI.