Diabetes is a well-recognized risk factor for ED. A systematic review and meta-analysis found that the prevalence of ED was 37.5% in type 1 diabetes, 66.3% in type 2 diabetes, and 52.5% in diabetes overall—a rate approximately 3.5 times higher than that in controls.  The etiology of ED in diabetic men probably involves both vascular and neurogenic mechanisms. Evidence indicates that establishing good glycemic control can minimize this risk.
An initial approach to medical therapy should consider reversible medical problems that may contribute to erectile dysfunction. Included in this should be assessment of the possibility of medication-induced erectile dysfunction with consideration for reduction of polypharmacy and/or substitution of medications with lower probability of inducing erectile dysfunction.
The physical examination can reveal clues for physical causes of erectile dysfunction. A doctor will perform an assessment of BMI and waist circumference to evaluate for abdominal obesity. A genital examination is part of the evaluation of erectile dysfunction. The examination will focus on the penis and testes. The doctor will ask you about penile curvature and will examine the penis to see if there are any plaques (hard areas) palpable. The doctor will examine the testes to make sure they are in the proper location in the scrotum and are normal in size. Small testicles, lack of facial hair, and enlarged breasts (gynecomastia) can point to hormonal problems such as hypogonadism with low testosterone levels. A health care provider may check pulses in your groin and feet to determine if there is a suggestion of hardening of the arteries that could also affect the arteries to the penis.
Impotence can have emotional causes but most often it is due to a physical problem. The physical causes of impotence include diseases (such as diabetes and hypertension), injuries (such as from prostate surgery), side-effects of drugs (such as the protease inhibitors used in HIV therapy), and disorders (such as atherosclerosis) that impair blood flow in the penis. Impotence is treatable in all age groups. Treatments include psychotherapy, vacuum devices, surgery and, most often today, drug therapy.
In other cases, men who habitually use alcohol or other drugs may experience similar results. Alcohol is a depressant to the central nervous system. This means that a little bit might be able to lighten the mood, but too much can basically shut down all communication between the brain and the penis. When this happens, no amount of will or stimulation will result in an erection. Other drugs can also affect the body’s ability to achieve an erection, including heroin and MDMA, otherwise known as ecstasy.
Only a small proportion of cases of erectile dysfunction are caused by hormone abnormalities. The most frequent hormone abnormality is a reduced level of the male sex hormone testosterone required to get an erection which can be restored by appropriate hormone replacement. It's unwise to take testosterone preparations unless you've had tests that confirm a deficiency.
Erectile dysfunction can occur as a side effect of medication taken for another health condition. Common culprits are high blood pressure meds, antidepressants, some diuretics, beta-blockers, heart medication, cholesterol meds, antipsychotic drugs, hormone drugs, corticosteroids, chemotherapy, and medication for male pattern baldness, among others.
However, a review of a United Kingdom medical record database found no evidence that the use of 5-alpha reductase inhibitors independently increase the risk for ED. In 71,849 men with benign prostatic hyperplasia (BPH), the risk of ED was not increased with the use of finasteride or dutasteride only (odds ratio [OR] 0.94), or a 5-alpha reductase inhibitor plus an alpha blocker (OR 0.92) compared with an alpha blocker only. In addition, the risk of ED was not increase in 12 346 men prescribed finasteride 1 mg for alopecia, compared with unexposed men with alopecia (OR 0.95). The risk of ED did increase with longer duration of BPH, regardless of drug exposure. 
The U.S. FDA (Food and Drug Administration) has a list of 29 OTC products that claim to treat erectile dysfunction. Patients should avoid these because many contain harmful ingredients. Other natural or herbal remedies such as DHEA, L-arginine, ginseng, and yohimbe are supplements that have been used but have not been proven safe and effective according to some researchers. Before using such compounds, individuals should consult their doctor. According to some experts, acupuncture does not effectively treat erectile dysfunction. Other home remedies for reducing ED symptoms include diet changes such as eating blueberries and citrus fruits and drinking red wine.
You’ve probably heard of Viagra, but it’s not the only pill for ED. This class of drugs also includes Cialis, Levitra, Staxyn, and Stendra. All work by improving blood flow to the penis during arousal. They're generally taken 30-60 minutes before sexual activity and should not be used more than once a day. Cialis can be taken up to 36 hours before sexual activity and also comes in a lower, daily dose. Staxyn dissolves in the mouth. All require an OK from your doctor first for safety.