Penile erection is managed by two mechanisms: the reflex erection, which is achieved by directly touching the penile shaft, and the psychogenic erection, which is achieved by erotic or emotional stimuli. The former uses the peripheral nerves and the lower parts of the spinal cord, whereas the latter uses the limbic system of the brain. In both cases, an intact neural system is required for a successful and complete erection. Stimulation of the penile shaft by the nervous system leads to the secretion of nitric oxide (NO), which causes the relaxation of smooth muscles of corpora cavernosa (the main erectile tissue of penis), and subsequently penile erection. Additionally, adequate levels of testosterone (produced by the testes) and an intact pituitary gland are required for the development of a healthy erectile system. As can be understood from the mechanisms of a normal erection, impotence may develop due to hormonal deficiency, disorders of the neural system, lack of adequate penile blood supply or psychological problems. Spinal cord injury causes sexual dysfunction including ED. Restriction of blood flow can arise from impaired endothelial function due to the usual causes associated with coronary artery disease, but can also be caused by prolonged exposure to bright light.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
In addition, when research has shown a nutrient such as zinc or niacin to improve sexual function, it's usually in people who are deficient in it. So, before you stock up on over-the-counter nutritional supplements for ED, speak with your doctor. He can test you for deficiencies and steer you toward the most effective and safest way to treat your erectile dysfunction.
Yohimbine: The main component of an African tree bark, yohimbine is probably one of the most problematic of all natural remedies for ED. Some research suggests that yohimbine can improve a type of sexual dysfunction that is linked with a drug used to treat depression. However, studies have linked yohimbine to a number of side effects, which can include anxiety, increased blood pressure, and a fast, irregular heartbeat. Like all natural remedies, yohimbine should only be used after advice and under supervision from a doctor.
Trauma to the pelvic blood vessels or nerves can also lead result in ED. Bicycle riding for long periods has been implicated as an etiologic factor; direct compression of the perineum by the bicycle seat may cause vascular and nerve injury.  On the other hand, bicycling for less than 3 hours per week may be somewhat protective against ED.  Some of the newer bicycle seats have been designed to diminish pressure on the perineum. [37, 38]
Erosion of the prosthesis, whereby it presses through the corporal tissue into the urethra, may occur. Symptoms and signs may include pain, blood in the urine, discharge, abnormal urine stream, and malfunction. If the prosthesis erodes into the urethra, a physician must remove it. If the other cylinder remains intact, it can be left in place. A physician leaves a catheter in place to allow the urethra to heal.
Clearly, PDE5i have revolutionized the treatment of ED in general and the neurogenic ED population is no exception. They remain safe and effective in most men with neurogenic ED; however, care must be taken in prescribing PDE5i to men high spinal cord lesions, MSA or possibly PD. VEDs are minimally-invasive and can be as effective as other modalities at leading to erection. However, high discontinuation rates are associated with VED use related to pain, difficulty using the device or cold penis. Intracavernosal therapy has been a mainstay of treatment for neurogenic ED and remains extremely successful in the SCI population. Trial of intracavernosal therapy for other causes of neurogenic ED can be considered second-line therapy, but there is a relative paucity of data for clinical outcomes related to its use outside of SCI men. Surgical therapy via penile implantation remains another second line approach and may also be utilized to assist men with bladder management. Higher complication rates of infections, and perforation have been reported compared to neurologically intact men. Many other compounds are currently being evaluated for the treatment of neurogenic ED as well as gene and stem cell therapy, but still should be considered investigational until substantiated by randomized controlled trials.
The common PDE5 inhibitor drugs approved in the United States are sildenafil (Viagra), vardenafil (Levitra and Staxyn, the generic form), tadalafil (Cialis), or avanafil (Stendra). All of the currently approved PDE5 inhibitors work in the same way. They differ in the number of available doses, how quickly they work and last in your system, the dosing, and to some extent in the side effects. However, they generally share the same indications and contraindications. Currently, tadalafil is the only medication that patients can take on a daily basis and is approved for the treatment of both ED and BPH (benign enlargement of the prostate).
Melissa Conrad Stöppler, MD, is a U.S. board-certified Anatomic Pathologist with subspecialty training in the fields of Experimental and Molecular Pathology. Dr. Stöppler's educational background includes a BA with Highest Distinction from the University of Virginia and an MD from the University of North Carolina. She completed residency training in Anatomic Pathology at Georgetown University followed by subspecialty fellowship training in molecular diagnostics and experimental pathology.
When aroused, stimulated nerves supplying the penis release chemicals that cause the muscle that surrounds blood vessels in the penis to relax. As the blood vessels relax, there is an increase in blood coming into the penis. This blood fills the spaces in the corpora cavernosa, allowing each of the corpora to expand. As the corpora expand, the veins that drain blood out of the penis are compressed against the tunica albuginea. Compression of the veins prevents blood from leaving the penis and results in a fully rigid penis. When the stimulation/arousal subsides, there is a decrease in the chemicals from the nerves, the muscle around the arteries tightens, decreasing inflow of blood, resulting in a lack of compression of the veins and the drainage of blood out of the penis.
Additionally, the physiologic processes involving erections begin at the genetic level. Certain genes become activated at critical times to produce proteins vital to sustaining this pathway. Some researchers have focused on identifying particular genes that place men at risk for ED. At present, these studies are limited to animal models, and little success has been reported to date.  Nevertheless, this research has given rise to many new treatment targets and a better understanding of the entire process.
The availability of phosphodiesterase-5 (PDE5) inhibitors—sildenafil, vardenafil, tadalafil, and avanafil—has fundamentally altered the medical management of ED. In addition, direct-to-consumer marketing of these agents over the last 15 years has increased the general public’s awareness of ED as a medical condition with underlying causes and effective treatments.
If you have a neurological disorder or spinal cord injury and other erectile dysfunction treatments aren’t effective, two types of surgical implants could offer solutions to your ED. “An implantable pump can be used to manually create an erection by pumping fluid into cylinders placed inside the penis,” explains Feloney. “The other option is a malleable prosthesis that works like a gooseneck lamp to direct the penis into position for intercourse." Risks for these ED treatments include infection and mechanical breakdown.
The main surgical treatment of ED involves insertion of a penile implant (also called penile prostheses). Because penile vascular surgery is not recommended for aging males who have failed oral PDE5 inhibitors, ICI or IU therapies, implants are the next step for these patients. Although placement of a penile implant is a surgery which carries risks, they have the highest rates of success and satisfaction among ED treatment options.