Other factors leading to erectile dysfunction are diabetes mellitus, which is a well-known cause of neuropathy). ED is also related to generally poor physical health, poor dietary habits, obesity, and most specifically cardiovascular disease, such as coronary artery disease and peripheral vascular disease. Screening for cardiovascular risk factors, such as smoking, dyslipidemia, hypertension, and alcoholism is helpful.
Get past your dislike of the doctor's office. Millions of men who experience erectile dysfunction (ED) each year are too embarrassed to talk about it with their doctor. ED is a very common disorder, but it is not considered to be a "normal" part of aging. ED is often a signal that there is an underlying problem that needs to be treated. Before attempting to overcome ED on your own, it's very important to make an appointment with your doctor and clear up any other issues that might be affecting your ability to sustain an erection.
• Medications: About 25 percent of ED cases are caused by drugs. Many medications, including common medicines prescribed for diabetes and its complications, can cause ED. The most common offenders are blood pressure drugs, antihistamines, antidepressants, tranquilizers, appetite suppressants, and cimetidine (an ulcer drug). In addition, over-the-counter medications, including certain eye drops and nose drops, have been associated with ED. That does not mean you should stop taking these medications! Rather, you should discuss them with your doctor to determine whether a different dosage, an alternate medicine, or additional treatments will resolve the ED.
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. 
THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for general informational purposes only and does not address individual circumstances. It is not a substitute for professional medical advice, diagnosis or treatment and should not be relied on to make decisions about your health. Never ignore professional medical advice in seeking treatment because of something you have read on the WebMD Site. If you think you may have a medical emergency, immediately call your doctor or dial 911.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
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.