In fact, one common reason many younger men visit their doctor is to get erectile dysfunction medication. Often, men with erectile dysfunction suffer with diabetes or heart disease, or may be sedentary or obese, but they don’t realize the impact of these health conditions on sexual function. Along with erectile dysfunction treatment, the doctor may recommend managing the illness, being more physically active, or losing weight.
Erectile dysfunction may be the result of arterial and non-arteritic causes. Hardening of the arteries that bring blood into the penis, atherosclerosis, is a common cause of erectile dysfunction, particularly in men with cardiovascular disease. However, problems with the nerves that supply the penis as well as the veins that drain blood out of the penis can also cause troubles with erection. Erectile dysfunction may also have a psychological cause.
Diabetes is an example of an endocrine disease that can cause a person to experience impotence. Diabetes affects the body’s ability to utilize the hormone insulin. One of the side effects associated with chronic diabetes is nerve damage. This affects penis sensations. Other complications associated with diabetes are impaired blood flow and hormone levels. Both of these factors can contribute to impotence.
Implantation of penile prosthesis remains an important option for men with ED if medical treatment fails or is inappropriate. Prostheses are available as a saline-filled silicone device or a malleable device. The benefit of the former is a more natural appearance in the deflated state, closely approximating the appearance of a flaccid penis. The trade-off is a higher mechanical failure rate and higher cost. Satisfaction rates for patients who underwent penile prosthesis surgery have been reported to be near 90%.36 However, in the majority of patients who receive this treatment, less invasive alternatives have failed and therefore satisfaction with this treatment would be expected to be higher in this subset of patients. Risks of these devices include surgical and anesthetic risk, device infection, and device malfunction. Mechanical failure rates depend on the specific device being investigated. Overall, the percentage of devices that are free from mechanical failure at 5 years ranges from 84% to 94%.19 Infection rates in the era of coated devices and improved techniques are reported to be less than 1%.37
Side effects include lightheadedness, fainting, priapism, urethral bleeding (intraurethral), dyspareunia in the partner (intraurethral), hematoma (intracavernosal) or penile curvature secondary to scar (intracavernosal). Efficacy of intraurethral alprostadil has been demonstrated to be around 50% ("able to have intercourse") in randomized controlled trials.31,32 For intracorporeal injection, typically alprostadil is tried alone, or compounded with papaverine (nonspecific phosphodiesterase inhibitor that increases intracellular cyclic adenosine monophosphate and cGMP) and/or phentolamine (competitive, non-selective alpha1- and alpha2-adrenoreceptor blocker). Pinsky et al33 reported an extensive review of the benefits and drawbacks of the combinations of these drugs.
Common medical conditions such as diabetes, heart disease, and high blood pressure are associated with an increased risk of developing erectile dysfunction. Thus, optimal management of these diseases may help prevent the development or progression of erectile dysfunction. Lifestyle modifications to improve vascular function, including smoking cessation, losing weight if overweight, and exercising regularly, may be helpful.
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.
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
The device consists of an acrylic cylinder placed over the penis that uses a lubricant to achieve a good seal between the penile body and cylinder. An erection is then achieved by creating a vacuum inside the cylinder with a pump connected to the cylinder. Once an erection is achieved, a constriction band is applied to the base of the penis to maintain the erection. The cylinder can then be removed and the patient can engage in intercourse with the constriction band at the base of the penis maintaining the erection. The band can remain on for approximately 30 minutes and then must be removed. The erection produced by the device differs from a normal erection likely because of venous occlusion from the constriction band resulting in generalized swelling of the entire penis, with probable preservation of arterial inflow.
When lifestyle changes alone don’t work, drug therapy (Viagra®, Cialis®, Levitra®, etc.) is normally the next step. Most of these medications work similarly to enhance a natural chemical in your body that relaxes the muscles in your penis. The goal of this medication is to increase your response to sexual stimulation by increasing the blood flow in your penis allowing you to get an erection.22
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.