The causes of erectile dysfunction include aging, high blood pressure, diabetes mellitus, cigarette smoking, atherosclerosis (hardening of the arteries), depression, nerve or spinal cord damage, medication side effects, alcoholism or other substance (drug) abuse, pelvic surgery including radical prostatectomy, pelvic radiation, penile/perineal/pelvic trauma such as pelvic fracture, Peyronie's disease (a disorder that causes curvature of the penis and sometimes painful erections), and low testosterone levels.
Proper informed consent with your physician should be performed to understand all risks and benefits of hormonal replacement therapy. Follow-up testosterone (hormone) levels and periodic blood counts as testosterone therapy is associated with a risk of an abnormally high red blood cell count, and prostate checks are necessary for all men on long-term testosterone replacement therapy as there are concerns regarding the risk of testosterone therapy in men with an underlying prostate cancer. The use of testosterone therapy does not cause the development of prostate cancer. Testosterone therapy may increase the size of the prostate and cause urinary troubles.
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.
In some cases, ED can be a warning sign of more serious disease. One study suggests ED is a strong predictor of heart attack, stroke, and death from cardiovascular disease. The researchers say all men diagnosed with ED should be evaluated for cardiovascular disease. This does not mean every man with ED will develop heart disease, or that every man with heart disease has ED, but patients should be aware of the link.
Suppositories “were developed so men wouldn’t have to use needles,” Bivalacqua says. They contain the drug alprostadil (also known as prostaglandin E1) and are sold under the brand name Muse. If they are going to work, it takes about five to 10 minutes. However, Muse produces erections in only 30 to 40 percent of patients, usually those with mild ED, because some of the drug is absorbed systemically and diverted from its function of opening penile arteries to allow more blood to flow in. The out-of-pocket cost is around $20 to $30 per suppository.
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.
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
Years ago, the standard treatment for impotence was an implantable penile prosthesis or long-term psychotherapy. Although physical causes are now more readily diagnosed and treated, individual or marital counseling is still an effective treatment for impotence when emotional factors play a role. Fortunately, other approaches are now available to treat the physical causes of impotence.
Acupuncture may help treat psychological ED, though studies are limited and inconclusive. You’ll likely need several appointments before you begin to notice any improvements. When choosing an acupuncturist, look for a certified practitioner who uses disposable needles and follows U.S. Food and Drug Administration guidelines for needle disposal and sterilization.
The views expressed in this article intend to highlight alternative studies and induce conversation. They are the views of the author and do not necessarily represent the views of hims, and are for informational purposes only, even if and to the extent that this article features the advice of physicians and medical practitioners. This article is not, nor is it intended to be, a substitute for professional medical advice, diagnosis, or treatment, and should never be relied upon for specific medical advice.
With an inflatable implant, fluid-filled cylinders are placed lengthwise in the penis. Tubing joins these cylinders to a pump placed inside the scrotum (between the testicles). When the pump is engaged, pressure in the cylinders inflate the penis and makes it stiff. Inflatable implants make a normal looking erection and are natural feeling for your partner. Your surgeon may suggest a lubricant for your partner. With the implant, men can control firmness and, sometimes, the size of the erection. Implants allows a couple to be spontaneously intimate. There is generally no change to a man's feeling or orgasm.