Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
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.