Treatment depends on the underlying cause. In general, exercise, particularly of the aerobic type, is effective for preventing ED during midlife. Exercise as a treatment is under investigation.:6, 18–19 For tobacco smokers, cessation often results in a significant improvement. Oral pharmacotherapy and vacuum erection devices are first-line treatments,:20, 24 followed by injections of drugs into the penis, as well as penile implants.:25–26 Vascular reconstructive surgeries are beneficial in certain groups.
Oral phosphodiesterase type 5 inhibitors (PDE5 inhibitors) unless contraindicated are the recommended first line medical therapy for erectile dysfunction. Currently, there are four different PDE5 inhibitors available. They all work the same way and have essentially the same results. They differ in how long they last in your body and in side effects.
The link between chronic disease and ED is most striking for diabetes. Men who have diabetes are two to three times more likely to have erectile dysfunction than men who do not have diabetes. Among men with erectile dysfunction, those with diabetes may experience the problem as much as 10 to 15 years earlier than men without diabetes. Yet evidence shows that good blood sugar control can minimize this risk. Other conditions that may cause ED include cardiovascular disease, atherosclerosis (hardening of the arteries), kidney disease, and multiple sclerosis. These illnesses can impair blood flow or nerve impulses throughout the body.
If PDE-5 inhibitors are not suitable or don’t work, other therapies include injections into the base of the penis, which cause flow of blood into the penis and a fairly immediate erection that lasts around an hour. The drugs injected are alprostadil (Caverject and Erectile dysfunctionex) and Invicorp (VIP and phentolamine). Alprostadil may also be inserted as a gel into the opening of the penis. This is not suitable if your partner is pregnant.
A number of herbs have been promoted for treating impotence. The most widely touted herbs for this purpose are Coryanthe yohimbe (available by prescription as yohimbine, with the trade name Yocon) and gingko (Gingko biloba), although neither has been conclusively shown to help the condition in controlled studies. In addition, gingko carries some risk of abnormal blood clotting and should be avoided by men taking blood thinners such as coumadin. Other herbs promoted for treating impotence include true unicorn root (Aletrius farinosa), saw palmetto (Serenoa repens), ginseng (Panax ginseng), and Siberian ginseng (Eleuthrococcus senticosus). Strychnos Nux vomica has been recommended, especially when impotence is caused by excessive alcohol, cigarettes, or dietary indiscretions, but it can be very toxic if taken improperly, so it should be used only under the strict supervision of a physician trained in its use.
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. 
MedlinePlus : 43 Erectile dysfunction (ED) is a common type of male sexual dysfunction. It is when a man has trouble getting or keeping an erection. ED becomes more common as you get older. But it's not a natural part of aging. Some people have trouble speaking with their doctors about sex. But if you have ED, you should tell your doctor. ED can be a sign of health problems. It may mean your blood vessels are clogged. It may mean you have nerve damage from diabetes. If you don't see your doctor, these problems will go untreated. Your doctor can offer several new treatments for ED. For many men, the answer is as simple as taking a pill. Getting more exercise, losing weight, or stopping smoking may also help. NIH: National Institute of Diabetes and Digestive and Kidney Diseases
The most common inflatable prosthesis is the three-piece penile prosthesis. It is composed of paired cylinders, which doctors surgically insert inside the penis. Patients can expand the cylinders using pressurized fluid (see figure 3). Tubes connect the cylinders to a fluid reservoir and pump, which doctors also surgically implant. The reservoir is usually in the pelvis. A doctor places the pump in the scrotum. By pressing on the pump, sterile fluid transfers from the reservoir into the cylinders in the penis. An erection is produced primarily by expansion of the width of the penis, however, one model can increase in length a small amount also. Lock-out valves in the tubing prevent the fluid from leaving the cylinder until a release valve is pressed. By pressing the relief valve and gently squeezing the penis, the fluid within the cylinders transfers back into the reservoir.
Uses and risks of viagra Viagra treats erectile dysfunction and pulmonary arterial hypertension. For sexual purposes, it helps someone with erectile dysfunction achieve and maintain an erection. However, Viagra can have unpleasant side effects, and an overdose can be serious. We cover everything you need to know about Viagra in this article. Read now
Erections are initiated and maintained via integration of afferent inputs in the supra sacral regions of the central nervous system. Regions of the brain cited to have key roles in the integration of signals include the medial amygdala, MPOA, periaqueductal gray matter, paraventricular nucleus (PVN), and ventral tegmentum among others (16). Studies in animal models, particularly in rats, have been paramount in identifying these key areas of signal integration and control. Electrostimulation of the MPOA, PVN and hippocampus lead to erection and lesions in these areas may prevent erection (17). Marson et al. injected labeled pseudorabies virus into rat corpora cavernosa and traced them to neurons in the spinal cord, brain stem and hypothalamus (18). Stimulation of the rat dorsal nerve led to increased firing in the MPOA not found elsewhere (19). Axonal tracing in animals have shows direct projections from the hypothalamus to the lumbosacral autonomic erection centers. Oxytocin and vasopressin have been identified as central neurotransmitters within the hypothalamic nuclei and may have a role in penile erection (17). These signaling studies identifying key areas of erectile response integration may explain how ED is associated with cerebrovascular accident (CVA), Parkinson’s, epilepsy and MS.
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.