Phosphodiesterase inhibitors: This class of medications includes sildenafil, tadalafil, and vardenafil. They work by inhibiting an enzyme called phosphodiesterase type 5 (PDE-5), allowing more blood to enter the penis and helping to produce an erection. These medications are often taken before sex and will cause an erection only when the man is sexually stimulated.
Experts often treat psychologically based impotence using techniques that decrease anxiety associated with intercourse. The patient's partner can help apply the techniques, which include gradual development of intimacy and stimulation. Such techniques also can help relieve anxiety during treatment of physical impotence. If these simple behavioral methods at home are ineffective, a doctor may refer an individual to a sex counselor.

Begot, I., Peixoto, T. C. A., Gonzaga, L. R. A., Bolzan, D. W., Papa, V., Carvalho, A. C. C., ... & Guizilini, S. (2015, March 1). A Home-Based Walking Program Improves Erectile Dysfunction in Men With an Acute Myocardial Infarction. The American Journal of Cardiology, 115(5), 5741-575. Retrieved from http://www.ajconline.org/article/S0002-9149(14)02270-X/abstract
Another risk factor is that men with type 2 diabetes may produce less than normal amounts of testosterone, a condition called hypogonadism. A 2007 study found that one-third of men with type 2 diabetes had low testosterone levels. Those men were also more likely to have ED, though the link may have to do with weight, not diabetes per se. Being overweight or obese is a risk factor for hypogonadism.
ED is easily and successfully treated! If your sex drive is unaffected, but you experience problems achieving or sustaining erection for a period of four to five weeks, you may have ED. Talk to your doctor immediately. Don’t delay—erectile dysfunction doesn’t “just go away!” Additionally, ED could be a sign of a serious, even life-threatening complication, such as congestive heart failure or kidney disease. Ignoring your ED because it’s embarrassing could jeopardize your health.
×