The sympathetic pathway originates from the 11th thoracic to the 2nd lumbar spinal segments and goes via the white rami to enter the sympathetic chain ganglia. Subsequently nerves travel through the lumbar splanchnic to inferior mesenteric and superior hypogastric nerves to the pelvic plexus. The T10 through T12 segments are most often the origin of sympathetic fibers, and the sympathetic chain ganglia that innervate the penis are located in the sacral and caudal ganglia (3).
The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
Certain types of blood pressure medications, antiulcer drugs, antihistamines, tranquilizers (especially before intercourse), antifungals (hetoconazole), antipsychotics, antianxiety drugs, and antidepressants, known as selective serotonin reuptake inhibitors (SSRIs, including Prozac and Paxil), can interfere with erectile function. Smoking, excessive alcohol consumption, and illicit drug use may also contribute. In rare cases, low levels of the male hormone testosterone may contribute to erectile failure. Finally, psychological factors, such as stress, guilt, or anxiety, may also play a role, even when the impotence is primarily due to organic causes.
However, in contrast, a recent systematic review of published studies, the authors concluded that overall, the addition of testosterone to PDE-5 inhibitors might benefit patients with ED associated with testosterone levels of less than 300 ng/dL (10.4 nmol/L) who failed monotherapy.  A limitation of existing studies are their heterogeneous nature and methodological drawbacks.
Cavernosography measurement of the vascular pressure in the corpus cavernosum. Saline is infused under pressure into the corpus cavernosum with a butterfly needle, and the flow rate needed to maintain an erection indicates the degree of venous leakage. The leaking veins responsible may be visualized by infusing a mixture of saline and x-ray contrast medium and performing a cavernosogram. In Digital Subtraction Angiography (DSA), the images are acquired digitally.
Physical causes may include the narrowing of the blood vessels caused by hypertension (high blood pressure), nutritional deficiencies, certain prescription treatments and medications for enlarged prostate or prostate cancer, excess drinking, obesity, heavy smoking, kidney issues, thyroid problems, hormonal changes due to aging, injury, or surgery, diabetes, and high cholesterol levels.
An occasional problem achieving an erection is nothing to worry about. But failure to do so more than 50% of the time at any age may indicate a condition that needs treatment. About 40% of men in their 40s report at least occasional problems getting and maintaining erections. So do more than half (52%) of men aged 40 to 70, and about 70% of men in their 70s.
In one study, 9.6% reported ‘occasional’ erectile dysfunction, 8.9% reported erectile dysfunction occurring ‘often’, and 18.6% reported erectile dysfunction occurring ‘all the time’. Of these, only 11.6% had received treatment.In another study, only 14.1% of men reported that they had received treatment, despite experiencing erectile dysfunction for longer than 12 months.
Alprostadil, a drug also discussed in Penile Injection Therapy, has been formulated into a small suppository. This applicator is inserted into the urethra (the canal through which urine and semen are excreted), and with compression of the applicator, the small suppository is released into the urethra. With massage/rubbing of the penis, the suppository dissolves in the urethra and the medication is absorbed into the penis where it acts to increase blood flow into the penis. One cannot use any form of lubricant (for example, K-Y jelly, Vaseline, etc) to help with the insertion of the suppository. Urinating prior to inserting the applicator will help moisten/lubricate the urethra.
Conditions that may be associated with ED include diabetes, [25, 26, 27] hypertension,  , and CAD, as well as neurologic disorders, endocrinopathies, benign prostatic hyperplasia,  , sleep apnea  , COPD,  and depression (see Table 1 below). [32, 33, 34, 35] In fact, almost any disease may affect erectile function by altering the nervous, vascular, or hormonal systems. Various diseases may produce changes in the smooth muscle tissue of the corpora cavernosa or influence the patient’s psychological mood and behavior.
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.