ED can also occur as a side effect of some medications, for example some high blood pressure medications such as certain diuretics and beta blockers. If you think that a medication you are taking has a negative effect on your sex life, you should discuss this with your prescribing doctor. Your doctor may be able to recommend an alternative treatment.
Surgical intervention for a number of conditions may remove anatomical structures necessary to erection, damage nerves, or impair blood supply.[8] Erectile dysfunction is a common complication of treatments for prostate cancer, including prostatectomy and destruction of the prostate by external beam radiation, although the prostate gland itself is not necessary to achieve an erection. As far as inguinal hernia surgery is concerned, in most cases, and in the absence of postoperative complications, the operative repair can lead to a recovery of the sexual life of people with preoperative sexual dysfunction, while, in most cases, it does not affect people with a preoperative normal sexual life.[13]
Organic ED involves abnormalities the penile arteries, veins, or both and is the most common cause of ED, especially in older men. When the problem is arterial, it is usually caused by arteriosclerosis, or hardening of the arteries, although trauma to the arteries may be the cause. The controllable risk factors for arteriosclerosis--being overweight, lack of exercise, high cholesterol, high blood pressure, and cigarette smoking--can cause erectile failure often before progressing to affect the heart. 
Patients at high cardiovascular risk should not be treated for ED until their cardiac condition is stabilize. These conditions include unstable or refractory angina, myocardial infarction or cerebrovascular accident within the past 2 weeks, uncontrolled hypertension, New York Heart Association (NYHA) Functional Classification III-IV congestive heart failure, high-risk arrhythmias, hypertrophic obstructive cardiomyopathies, and moderate-to-severe valvular disease.25 This class of drugs is also contraindicated in patients who use nitroglycerin or nitrate-containing compounds.26, 27
"Erectile dysfunction can be a very serious issue because it's a marker of underlying cardiovascular disease, and it often occurs before heart conditions become apparent. Therefore, men should consider improving their weight and overall nutrition, exercise more, drink less alcohol and have a better night's sleep, as well as address risk factors such as diabetes, high blood pressure and cholesterol.
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.
×