Certain types of blood pressure medications, antiulcer drugs, antihistamines, tranquilizers (especially before intercourse), antifungals (hetoconazole), antipsychotics, antianxiety drugs, and antidepressants, known as selective serotonin reuptake inhibitors (SSRIs, including Prozac and Paxil), can interfere with erectile function. Smoking, excessive alcohol consumption, and illicit drug use may also contribute. In rare cases, low levels of the male hormone testosterone may contribute to erectile failure. Finally, psychological factors, such as stress, guilt, or anxiety, may also play a role, even when the impotence is primarily due to organic causes.
Erectile dysfunction (ED) affects 50% of men older than 40 years,  exerting substantial effects on quality of life.  This common problem is complex and involves multiple pathways. Penile erections are produced by an integration of physiologic processes involving the central nervous, peripheral nervous, hormonal, and vascular systems. Any abnormality in these systems, whether from medication or disease, has a significant impact on the ability to develop and sustain an erection, ejaculate, and experience orgasm.
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
Qaseem, A., Snow, V., Denberg, T. D., Casey, D. E., Forciea, M. A., Owens, D. K., & Shekelle, P. (2009). Hormonal testing and pharmacologic treatment of erectile dysfunction: A clinical practice guideline from the American College of Physicians. Annals of internal medicine, 151(9), 639-649. Retrieved from http://annals.org/aim/article/745155/hormonal-testing-pharmacologic-treatment-erectile-dysfunction-clinical-practice-guideline-from