Erectile dysfunction (ED) affects 50% of men older than 40 years,  exerting substantial effects on quality of life.  This common problem is complex and involves multiple pathways. Penile erections are produced by an integration of physiologic processes involving the central nervous, peripheral nervous, hormonal, and vascular systems. Any abnormality in these systems, whether from medication or disease, has a significant impact on the ability to develop and sustain an erection, ejaculate, and experience orgasm.
Depression and anxiety: Psychological factors may be responsible for erectile dysfunction. These factors include stress, anxiety, guilt, depression, widower syndrome, low self-esteem, posttraumatic stress disorder, and fear of sexual failure (performance anxiety). It is also worth noting that many medications used for treatment of depression and other psychiatric disorders may cause erectile dysfunction or ejaculatory problems.
A number of treatments are available to treat erectile dysfunction. The typical treatment strategy starts with simple to use, noninvasive therapies and progresses to more invasive surgical therapies as needed. In all men, the first step is determining if there are any modifiable risks factors that can either improve or prevent progression of erectile dysfunction. Since the risk of developing ED is increased in the presence of diabetes, heart disease, and hypertension, it is thought that better control/prevention of these conditions may have a benefit in ED. Similarly, it is thought that lifestyle modifications to improve vascular function such as avoiding smoking, maintaining ideal body weight, and engaging in regular exercise might either prevent or reverse ED. Sexual counseling may also be useful in addressing relationship stressors as you work on improving your erectile function.
As is true in so many medical conditions, lifestyle modifications, considered first-line therapy, can have a salutary effect in ED management, and men should be encouraged to make the necessary changes to the benefit of their sexual function and to their overall health as well. Despite the benefits of behaviour modification, men presenting with ED want the physician to help with measures that can have an immediate impact.
Knowing about your history of ED will help your health provider learn if your problems are because of your desire for sex, erection function, ejaculation, or orgasm (climax). Some of these questions may seem private or even embarrassing. However, be assured that your doctor is a professional and your honest answers will help find the cause and best treatment for you.