There are two kinds of surgery for ED: one involves implantation of a penile prosthesis; the other attempts vascular reconstruction. Expert opinion about surgical implants has changed during recent years; today, surgery is no longer so widely recommended. There are many less-invasive and less-expensive options, and surgery should be considered only as a last resort.
There have been some studies to suggest that a placebo effect that improves ED may work for some men. One study found that men taking an oral placebo pill showed as much improvement in ED symptoms as men who took actual medication to improve ED. Conversely, men who were given therapeutic suggestions to improve ED did not see signs of symptom improvement.
In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. 
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
Causes of impotence are many and include heart disease, high cholesterol, high blood pressure, obesity, metabolic syndrome, Parkinson's disease, Peyronie's disease, substance abuse, sleep disorders, BPH treatments, relationship problems, blood vessel diseases (such as peripheral vascular disease and others), systemic disease, hormonal imbalance, and medications (such as blood pressure and heart medications).
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.
Alprostadil (also known as prostaglandin E1 [PGE1]) is the prominent known smooth-muscle dilator of the corpus cavernosum. Its mechanism of action is believed to be the promotion of intracellular accumulation of cyclic adenosine monophosphate, thereby causing decreased intracellular accumulation of calcium and resulting smooth muscle relaxation. Alprostadil can be delivered to the erectile tissue either via an intraurethral suppository that is massaged and then absorbed across the corpus spongiosum of the urethra to the corpora cavernosa, or directly injected into the corpora cavernosa. When administered urethrally, doses are substantially higher than when directly injected (typical dosing is 500 mcg to 1 mg intraurethral compared with 2.5 mcg to 20 mcg intracavernosal).
When sexually stimulated there is a release of a chemical, nitric oxide (NO) in the blood vessels of the corpus cavernosum. The NO stimulates the production of a compound called cGMP, which causes relaxation of the smooth muscle in the blood vessels supplying the corpus cavernosum. PDE 5 is an enzyme that breaks down cGMP. By inhibiting the breakdown of cGMP by PDE5, these medications allow cGMP to build up in the penis. cGMP causes muscles in the corpora cavernosa of the penis to relax. When the muscle is relaxed, more blood can flow into the penis and fill the spaces in the penis. As the penis fills with blood, the veins in the penis are compressed, and this results a hard erection. When the effect on PDE5 decreases, the cGMP levels go down and the muscle in the penis contracts, causing less blood to flow into the penis and allowing the veins to open up and drain blood out of the penis.
While studies are limited, it has been shown that male sexual dysfunction can also negatively impact the sexual function of female partners. A study comparing the sexual function of women with partners with erectile dysfunction to those without showed that sexual arousal, lubrication, orgasm, satisfaction, pain and total score were significantly lower in those who had partners with erectile dysfunction. Later in that study, a large proportion of the men with erectile dysfunction underwent treatment. Following treatment, sexual arousal, lubrication, orgasm, satisfaction and pain were all significantly increased. It was concluded that female sexual function is impacted by male erection status, which may improve following treatment of male sexual dysfunction.
ICI therapy often produces a reliable erection, which comes down after 20-30 minutes or with climax. Since the ICI erection is not regulated by your penile nerves, you should not be surprised if the erection lasts after orgasm. The most common side effect of ICI therapy is a prolonged erection. Prolonged erections (>1 hour) can be reversed by a second injection (antidote) in the office.