The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
And surgery comes with its own serious risks, such as developing incontinence or impotence, while radiation can result in urinary problems. — Peter Loftus, WSJ, "Surgery Adds Three Years to Lives of Prostate-Cancer Patients, Study Finds," 12 Dec. 2018 Male-impotence pill Viagra began facing generic competition late last year, while the Lyrica pain treatment is expected to confront generics at the end of this year. — Jonathan D. Rockoff, WSJ, "Pfizer Narrows Guidance on Tougher Pricing, Generic Competition," 30 Oct. 2018 Arkham Horror Third Edition is a classic struggle of agency versus impotence, set in the uncanny world of H.P. Lovecraft’s Cthulhu mythos. — Charlie Theel, Ars Technica, "Arkham Horror Third Edition: The classic Lovecraft adventure returns," 24 Nov. 2018 There’s obviously a lot of anger and frustration here toward the US government at the moment—along with side effects like bottled rage and sometimes a creeping sense of ineptitude or impotence about our ability to do anything about it. — Corey Seymour, Vogue, "Pussy Riot's Nadya Tolokonnikova On Her New Guide To Activism, Raising The Next President Of Russia, And Her "Holy War" On Fairy Tales," 12 Oct. 2018 In exchange for political impotence, they would be mostly left alone and allowed to get rich. — Paul Mozur, New York Times, "Inside China’s Dystopian Dreams: A.I., Shame and Lots of Cameras," 8 July 2018 Their suspicion is compounded by rumors that the polio vaccine causes impotence, death and, ironically, paralysis. — Meher Ahmad, New York Times, "Pakistan Has Just One New Polio Case, but Isn’t Declaring Victory Yet," 20 May 2018 Fighting back, even as an exercise in impotence, did a lot for McCain. — Alex Horton, Washington Post, "John McCain rebelled at the Naval Academy — and as a POW — long before he was a Senate maverick," 3 May 2018 Feelings of desperation and impotence are being felt throughout Central America, where the lawlessness, endemic poverty and levels of gang violence akin to war zones that have driven so many families from their homes show little signs of abating. — Washington Post, "Violence keeps Central Americans coming to US despite Trump," 21 June 2018
NO is produced by the enzyme NO synthase (NOS).  NOS plays many roles, ranging from homeostasis to immune system regulation. To date, 3 subtypes have been identified: nNOS, iNOS, and eNOS, which are produced by the genes NOS1, NOS2, and NOS3, respectively. This nomenclature is derived from the sources of the original isolates: neuronal tissue (nNOS), immunoactivated macrophage cell lines (iNOS), and vascular endothelium (eNOS). The subtypes are not, however, limited to the tissues from which they were first isolated.
A meta-analysis of 36 744 men with ED in 12 prospective cohort studies found that the presence of ED significantly increased the risk of CVD, CAD, stroke and all-cause mortality, and the presence of ED was an independent risk factor for CVD. Ponholzer et al found that men with moderate to severe ED had a 65% increased relative risk for developing symptomatic CAD compared with men who did not have ED.26
The association of CVD and ED was noted in 1997 as one analysed the results of the MMAS. In this landmark study, 1709 men aged 40–70 years were enrolled between 1987 and 1989. A follow-up some 10 years later revealed a striking relationship between ED and CVD. In this study, it became clear that the risk factors for ED were very similar to those of CVD, such as diabetes mellitus, smoking and dyslipidaemia.18
Of particularly concern are antihypertensive medications for CVD (eg, digoxin, disopyramide [Norpace], gemfibrozil [Lopid]), anxiety, depression (eg, lithium, monoamine oxidase inhibitors, selective serotonin reuptake inhibitors, serotonin-norepinephrine reuptake inhibitors, tricyclic antidepressants), or psychosis (eg, chlorpromazine, haloperidol, pimozide [Orap], thioridazine, thiothixene). Antihypertensive drugs, such as diuretics (eg, spironolactone, thiazides) and beta blockers, may be associated with ED. Discontinuation or switching to alternative drugs, such as angiotensin-converting enzyme inhibitors or calcium channel blockers (eg, diltiazem, nifedipine, amlodipine), may reduce ED. The newer angiotensin II receptor antagonists may be less problematic with respect to ED, but long-term data is needed to evaluate this.
Sexual functioning involves a complex interaction among biologic, sociocultural, and psychological factors, and the complexity of this interaction makes it difficult to ascertain the clinical etiology of sexual dysfunction. Before any diagnosis of sexual dysfunction is made, problems that are explained by a nonsexual mental disorder or other stressors must first be addressed. Thus, in addition to the criteria for erectile disorder, the following must be considered:
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.