Erectile dysfunction can occur as a side effect of medication taken for another health condition. Common culprits are high blood pressure meds, antidepressants, some diuretics, beta-blockers, heart medication, cholesterol meds, antipsychotic drugs, hormone drugs, corticosteroids, chemotherapy, and medication for male pattern baldness, among others.
The Prostate Cancer Prevention Trial was a landmark study by Thompson et al that prospectively assessed the time to developing CVD after the diagnosis of ED. There were 4247 men with no ED at study entry; 2420 developed incident ED (defined as the first report of ED of any grade) over 5 years. Those men that developed ED had a 1.45-fold higher probability of experiencing a CV event compared with men who did not develop ED.27
Since sexual arousal is a complex process involving hormones, emotions, nerves, muscles, blood vessels and the brain, a malfunction in any of these can lead to ED. Stress, exhaustion and psychological issues can also contribute, and anxiety over maintaining an erection can actually make it harder to attain. In short, any condition that inhibits blood flow to the penis can lead to ED.
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). 
Your doctor will ask you questions about your symptoms and health history. They may do tests to determine if your symptoms are caused by an underlying condition. You should expect a physical exam where your doctor will listen to your heart and lungs, check your blood pressure, and examine your testicles and penis. They may also recommend a rectal exam to check your prostate. Additionally, you may need blood or urine tests to rule out other conditions.
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.
A variety of personal habits and lifestyle choices have been linked to ED. In some ways, this is a good thing, since habits can be broken and choices reconsidered. What's more, many of the lifestyle factors that contribute to sexual problems are ones that affect overall health and well-being, both physical and mental. Addressing these factors, therefore, can have benefits beyond improving erectile dysfunction.
Infection is a concern after placement of a prosthesis and is a reported complication in 8%-20% of men undergoing placement of a penile prosthesis. If a prosthesis becomes infected (redness, pain, and swelling of the penis and sometimes purulent drainage are signs of infection), the prosthesis must be removed. Depending on the timing and severity of the infection and your surgeon's preference, the area can be irrigated extensively with antibiotic solutions and a new prosthesis placed at the same time or removal of the infected prosthesis and an attempt to place a new prosthesis made at a later time when the infection is totally cleared.
Cavernosography measurement of the vascular pressure in the corpus cavernosum. Saline is infused under pressure into the corpus cavernosum with a butterfly needle, and the flow rate needed to maintain an erection indicates the degree of venous leakage. The leaking veins responsible may be visualized by infusing a mixture of saline and x-ray contrast medium and performing a cavernosogram. In Digital Subtraction Angiography (DSA), the images are acquired digitally.
The Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
Finally, there are NO-releasing polymers that are capable of delivering NO in a pharmacologically useful way. Such compounds include compounds that release NO upon being metabolised and compounds that release NO spontaneously in aqueous solution. Initial animal studies suggest that cavernosal injections of NO polymers can significantly improve erectile function.48
Low-intensity extracorporeal shock wave therapy has been proposed as a new non-invasive treatment for erectile dysfunction caused by problems with blood vessels. Shock wave therapy machines are now available in some medical practices in Australia. Although there is some evidence that it may help a proportion of men with erectile dysfunction, more research is needed before clear recommendations on its use can be made.
2 inability of the adult male to achieve or sustain a penile erection or, less commonly, to ejaculate after achieving an erection. Several forms are recognized. Functional impotence has a psychological basis. Organic impotence includes vasculogenic, neurogenic, endocrinic, and anatomical factors. Anatomical impotence results from physically defective genitalia. Atonic impotence involves disturbed neuromuscular function. Poor health, old or advancing age, drugs, smoking, trauma, and fatigue can induce impotence. Also called erectile dysfunction, impotency. impotent, adj.
Drugs.com provides accurate and independent information on more than 24,000 prescription drugs, over-the-counter medicines and natural products. This material is provided for educational purposes only and is not intended for medical advice, diagnosis or treatment. Data sources include IBM Watson Micromedex (updated Jan 9th, 2019), Cerner Multum™ (updated Jan 14th, 2019), Wolters Kluwer™ (updated Jan 7th, 2019) and others. To view content sources and attributions, please refer to our editorial policy.
Medical conditions, such as hypertension, diabetes mellitus, and cardiovascular disease (CVD), and psychological conditions, such as depression and anxiety, also contribute to sexual dysfunction in middle-aged or elderly men. CVD and hypertension cause a narrowing and hardening of the arteries, leading to reduced blood flow to the corporal bodies, which is essential for achieving an erection. Diabetes is a common aetiology of sexual dysfunction, because it can affect both the blood vessels and the nerves that supply the penis. Men with diabetes are four times more likely to experience ED, and on average, experience ED 15 years earlier than men without diabetes.7 Obesity is also correlated to the development of several types of dysfunction, including a decrease in sex drive and an increase in episodes of ED.8
The role of the endothelium in erectile function became clearer with the observation that the phosphodiesterase type 5 (PDE5) inhibitor, sildenafil, enhanced erectile function. Erection occurs with the release of nitric oxide (NO) from the vascular endothelial cells.17 The reduction in endothelial cell production of NO results in the negative impact on the smooth muscles in the corporal bodies and results in less relaxation of the smooth muscle cells with decrease in blood supply and resulting ED. A similar phenomenon is well known to impact the coronary arterial system resulting in CVD.
The inflatable type of device consists of cylinders that are implanted in the corpora cavernosa, a fluid reservoir implanted in the abdomen, and a pump placed in the scrotum. The man squeezes the pump to move fluid into the cylinders and cause them to become rigid. (He reverses the process by squeezing the pump again.) While these devices allow for intermittent erections, they have a slightly higher malfunction rate than the silicon rods.
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. 
The most common treatment for erectile dysfunction is drugs known as phosphodiesterase-5 (PDE-5) inhibitors. These include tadalafil (Cialis), vardenafil (Levitra), and sildenafil citrate (Viagra). These are effective for about 75% of men with erectile dysfunction. They are tablets that are taken around an hour before sex, and last between 4 and 36 hours. Sexual stimulation is required before an erection will occur. The PDE-5 inhibitors cause dilation of blood vessels in the penis to allow erection to occur, and help it to stay rigid. Men using nitrate medication (e.g. GTN spray or sublingual tablets for angina) should not use PDE-5 inhibitors.
VIP is a neurotransmitter with regulatory actions on blood flow, secretion and muscle tone with intracorporal adenylate cyclase activation and smooth muscle relaxation. VIP has been shown to elevate cAMP intracellular concentrations without affecting cGMP levels. However, when VIP is given alone it may not induce erection and requires combination with phentolamine or papaverine for it to be effective (88). Common associated adverse effects were facial flushing and headache. VIP in combination with phentolamine is currently being used in the UK and Europe and is seeking regulatory approval for use in the United States.
Palmer MR, Holt SK, Sarma AV, Dunn RL, Hotaling JM, Cleary PA, Braffett BH, Martin C, Herman WH, Jacobson AM, Wessells H; Diabetes Control and Complications Trial and Epidemiology of Diabetes Interventions and Complications Research Group. Longitudinal Patterns of Occurrence and Remission of Erectile Dysfunction in Men With Type 1 Diabetes. J Sex Med. 2017 Oct;14(10):1187-1194. Doi: 10.1016/j.jsxm.2017.07.012. Epub 2017 Aug 26.
Supplements are popular and often cheaper than prescription drugs for ED. However, supplements have not been tested to see how well they work or if they are a safe treatment for ED. Patients should know that many over-the-counter drugs have been found on drug testing to have ‘bootlegged' PDE 5 Inhibitors as their main ingredient. The amounts of Viagra, Cialis, Levitra or Stendra that may be in these supplements is not under quality control and may differ from pill to pill. The FDA has issued consumer warnings and alerts.