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
ED is often the result of atherosclerosis, and as a result, men with ED frequently have cardiovascular disease. Sexual activity is associated with increased physical exertion, which in some men may increase the risk of having a heart attack (myocardial infarction or MI). The major risk factors associated with cardiovascular disease are age, hypertension, diabetes mellitus, obesity, smoking, abnormal lipid/cholesterol levels in the blood, and lack of exercise. Individuals with three or more of these risk factors are at increased risk for a heart attack during sexual activity. The Princeton Consensus Panel developed guidelines for treating ED in men with cardiovascular disease. Thus, if you have ED and cardiovascular disease (for example, angina or prior heart attack), you should discuss whether or not treatment of ED and sexual activity are appropriate for you.
A useful and simple way to distinguish between physiological and psychological impotence is to determine whether the patient ever has an erection. If never, the problem is likely to be physiological; if sometimes (however rarely), it could be physiological or psychological. The current diagnostic and statistical manual of mental diseases (DSM-IV) has included a listing for impotence.
Vascular damage may result from radiation therapy to the pelvis and prostate in the treatment of prostate cancer.  Both the blood vessels and the nerves to the penis may be affected. Radiation damage to the crura of the penis, which are highly susceptible to radiation damage, can induce ED. Data indicate that 50% of men undergoing radiation therapy lose erectile function within 5 years after completing therapy; fortunately, some respond to one of the PDE5 inhibitors.
"One couple came to see me, and when I asked the man how long he'd had erectile dysfunction, he told me it had been happening for five years. His wife looked at him and said: 'But this is the first I've heard of this.'" He adds that Viagra-type drugs can mask the problem, and many men still buy them online to avoid talking to their doctor about their difficulties in the bedroom. As a result, their risk of heart attack is never picked up.
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.