Conditions associated with reduced nerve and endothelium function (eg, aging, hypertension, smoking, hypercholesterolemia, and diabetes) alter the balance between contraction and relaxation factors (see Pathophysiology). These conditions cause circulatory and structural changes in penile tissues, resulting in arterial insufficiency and defective smooth muscle relaxation. In some patients, sexual dysfunction may be the presenting symptom of these disorders.
While testosterone stimulates a man’s sex drive, it also aids in achieving and maintaining an erection. Testosterone alone doesn’t cause an erection, but it stimulates receptors in the brain to produce nitric oxide. Nitric oxide is a molecule that helps trigger a series of chemical reactions necessary for an erection to occur. When testosterone levels are too low, a man may have difficulty achieving an erection prior to sex or having spontaneous erections (for example, during sleep).
The availability of phosphodiesterase-5 (PDE5) inhibitors—sildenafil, vardenafil, tadalafil, and avanafil—has fundamentally altered the medical management of ED. In addition, direct-to-consumer marketing of these agents over the last 15 years has increased the general public’s awareness of ED as a medical condition with underlying causes and effective treatments.
Overall there is evidence that testosterone treatment increases lean body mass and reduces obesity, particularly visceral obesity, in a variety of populations including aging men. With regard to muscle changes, some studies demonstrate improvements in maximal strength but the results are inconsistent and it has not been demonstrated that these changes lead to clinically important improvements in mobility, endurance or quality of life. Studies are needed to clarify this. Changes in abdominal obesity are particularly important as visceral fat is now recognised as predisposing the metabolic syndrome, diabetes and cardiovascular disease.
THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for general informational purposes only and does not address individual circumstances. It is not a substitute for professional medical advice, diagnosis or treatment and should not be relied on to make decisions about your health. Never ignore professional medical advice in seeking treatment because of something you have read on the WebMD Site. If you think you may have a medical emergency, immediately call your doctor or dial 911.
In many cases, diagnosing erectile dysfunction requires little more than a physical exam and a review of your symptoms. If your doctor suspects that an underlying health problem may be at play, however, he may request additional testing. Once you’ve determined the cause for your ED, you and your doctor can decide on a form of treatment – here are some of the options:
I think that a very powerful argument to young men who want to perform at the highest level is to point out the destructive nature of what they’re doing. If they’re having 18 drinks per week, if they’re having three, four, five drinks at any one time, they’re going to guarantee that their erections are not going to be at the highest level. I can’t tell you the number of men who come in saying, they went out, they had a date, they had a big dinner– which, by the way, is also not a great thing for erections, because all the blood is now going to your gut instead of to the genital area. And how important lifestyle changes are to improving your performance, as well, if not better, than the medications. So make certain that you exercise modestly, not excessively. Make certain that you have a smaller meal on an evening or a day that you want to have a sexual encounter, because you want the blood to go, once again, to the penile area and not to your gut. And really, the whole idea of stress– if you’re stressed out, if you’re worried about a lot of things, if you’re distracted, you can’t initiate that psychic stimulus to your spinal cord and then ultimately to your penis. So stress management is incredibly important.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
A physical cause can be identified in about 80% of cases. These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases. In psychological impotence, there is a strong response to placebo treatment.
Acupuncture may help treat psychological ED, though studies are limited and inconclusive. You’ll likely need several appointments before you begin to notice any improvements. When choosing an acupuncturist, look for a certified practitioner who uses disposable needles and follows U.S. Food and Drug Administration guidelines for needle disposal and sterilization.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
Dr. Wassersug, whose background is in evolutionary biology, also noted that lower testosterone in older men may be adaptive, a positive benefit, as our bodies age and become increasingly frail. "The argument can be made," he said, "that it's not beneficial to have the mindset of a 19-year-old when you are 49-years-old, because if you are aggressive enough to get into a conflict with an actual 19-year-old, you are going to get killed."
Psychosocial problems are important and may cause erectile dysfunction by themselves or together with other causes of erectile dysfunction, such as diabetes and heart disease. Relationships are complicated and many factors cause tensions, which can affect sexual relations. For some men, these problems can become ongoing and it can help to talk through the issue with a skilled counsellor. It is important to know that the longer erectile dysfunction is left untreated, the greater the effect on relationships. This is another reason why early treatment of erectile dysfunction is important.
Epidemiological data has associated low testosterone levels with atherogenic lipid parameters, including lower HDL cholesterol (Lichtenstein et al 1987; Haffner et al 1993; Van Pottelbergh et al 2003) and higher total cholesterol (Haffner et al 1993; Van Pottelbergh et al 2003), LDL cholesterol (Haffner et al 1993) and triglyceride levels (Lichtenstein et al 1987; Haffner et al 1993). Furthermore, these relationships are independent of other factors such as age, obesity and glucose levels (Haffner et al 1993; Van Pottelbergh et al 2003). Interventional trails of testosterone replacement have shown that treatment causes a decrease in total cholesterol. A recent meta-analysis of 17 randomized controlled trials confirmed this and found that the magnitude of changes was larger in trials of patients with lower baseline testosterone levels (Isidori et al 2005). The same meta-analysis found no significant overall change in LDL or HDL cholesterol levels but in trials with baseline testosterone levels greater than 10 nmol/l, there was a small reduction in HDL cholesterol with testosterone treatment.