In addition to these laboratory tests, your doctor may also ask you to complete a self-report to gauge your level of sexual function. You’ll be asked questions about your sexual desire (libido), your ability to achieve and maintain an erection, your ability to reach orgasm, your satisfaction level with intercourse, as well as your overall sexual satisfaction. Depending on your answers, and the results of your laboratory tests, your doctor may recommend a psychological evaluation to further explore the potential cause for your ED.

Poor sleep patterns can be a contributing factor for erectile dysfunction, Mucher says. One review published in the journal Brain Research emphasized the intricate relationship between the level of sex hormones like testosterone, sexual function, and sleep, noting that testosterone levels increase with improved sleep, and lower levels are associated with sexual dysfunction. Hormone secretion is controlled by the body’s internal clock, and sleep patterns likely help the body determine when to release certain hormones. 
Cognitive behavioral therapy (CBT) is a common and highly effective treatment for psychological issues in general, but also for ED. Facilitated by a therapist, this type of treatment helps you to identify and change unhealthy patterns of thought and action which may be contributing to your erectile issues. This kind of treatment is based on the idea that the situation itself (your inability to achieve or maintain an erection) is not the core problem, but rather your reaction to it. If you can learn to better understand yourself and your thought patterns, you can change them in a positive way to resolve your issues.

• Blood Vessels: Diabetes damages blood vessels, especially the smallest blood vessels such as those in the penis. Diabetes can also cause heart disease and other circulatory problems. Proper blood flow is absolutely crucial to achieving erection. “Erection is a hydraulic phenomenon that occurs involuntarily,” says Arturo Rolla, MD, of Harvard University School of Medicine. “Nobody can will an erection!” Anything that limits or impairs blood flow can interfere with the ability to achieve an erection, no matter how strong one’s sexual desire.
×