Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.
The Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
Research has even found possible links to frequent ejaculation and a lower risk of prostate cancer. In one study of 32,000 men published in 2016 in the journal European Urology, for example, men who ejaculated at least 21 times per month while in their 20s were less likely to be diagnosed with prostate cancer than those who ejaculated four to seven times per month. And men who ejaculated more often in their 40s were 22 percent less likely to get a prostate cancer diagnosis.
Studies have demonstrated reduced testosterone levels in men with heart failure as well as other endocrine changes (Tappler and Katz 1979; Kontoleon et al 2003). Treatment of cardiac failure with chronic mechanical circulatory support normalizes many of these changes, including testosterone levels (Noirhomme et al 1999). More recently, two double-blind randomized controlled trials of testosterone treatment for men with low or low-normal serum testosterone levels and heart failure have shown improvements in exercise capacity and symptoms (Pugh et al 2004; Malkin et al 2006). The mechanism of these benefits is currently unclear, although a study of the acute effects of buccal testosterone given to men with chronic cardiac failure under invasive monitoring showed that testosterone increased cardiac index and reduced systemic vascular resistance (Pugh et al 2003). Testosterone may prove useful in the management of cardiac failure but further research is needed.
In summary, low testosterone levels are linked to the presence of numerous cardiovascular risk factors. Testosterone treatment acts to improve some of these factors, but effects may vary according to pre- and post-treatment testosterone levels, as well as other factors. There is little data from trials specific to aging males. Appropriately-powered randomized controlled trials, with cardiovascular disease primary endpoints, are needed to clarify the situation, but in the meantime the balance of evidence is that testosterone has either neutral or beneficial effects on the risk of cardiovascular disease in men. It is particularly important to define the effect of testosterone treatment on cardiovascular disease in view of its potential use as an anti-anginal agent.
Associated morbidity may include various other male sexual dysfunctions, such as premature (early) ejaculation and male hypoactive sexual desire disorder. The NHSLS found that 28.5% of men aged 18-59 years reported premature ejaculation, and 15.8% lacked sexual interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% had a lack of pleasure in sex. 
Professional-athlete-turned-biohacker Maximilian Gotzler gave a speech about boosting testosterone at the 2015 Bulletproof Conference. He started by leading the room through the Haka, a Maori war dance that New Zealand’s pro rugby team has made popular. The Pasadena Conference Center trembled as over 100 people shouted and stomped in unison. It was awesome.
At the present time, it is suggested that androgen replacement should take the form of natural testosterone. Some of the effects of testosterone are mediated after conversion to estrogen or dihydrotestosterone by the enzymes aromatase and 5a-reductase enzymes respectively. Other effects occur independently of the traditional action of testosterone via the classical androgen receptor- for example, its action as a vasodilator via a cell membrane action as described previously. It is therefore important that the androgen used to treat hypogonadism is amenable to the action of these metabolizing enzymes and can also mediate the non-androgen receptor actions of testosterone. Use of natural testosterone ensures this and reduces the chance of non-testosterone mediated adverse effects. There are now a number of testosterone preparations which can meet these recommendations and the main factor in deciding between them is patient choice.
Testosterone may prove to be an effective treatment in female sexual arousal disorders, and is available as a dermal patch. There is no FDA approved androgen preparation for the treatment of androgen insufficiency; however, it has been used off-label to treat low libido and sexual dysfunction in older women. Testosterone may be a treatment for postmenopausal women as long as they are effectively estrogenized.
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.
Factors that mediate contraction in the penis include noradrenaline, endothelin-1, neuropeptide Y, prostanoids, angiotensin II, and others not yet identified. Factors that mediate relaxation include acetylcholine, nitric oxide (NO), vasoactive intestinal polypeptide, pituitary adenylyl cyclase–activating peptide, calcitonin gene–related peptide, adrenomedullin, adenosine triphosphate, and adenosine prostanoids.
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.
Male hypogonadism becomes more common with increasing age and is currently an under-treated condition. The diagnosis of hypogonadism in the aging male requires a combination of symptoms and low serum testosterone levels. The currently available testosterone preparations can produce consistent physiological testosterone levels and provide for patient preference.