Patients at high cardiovascular risk should not be treated for ED until their cardiac condition is stabilize. These conditions include unstable or refractory angina, myocardial infarction or cerebrovascular accident within the past 2 weeks, uncontrolled hypertension, New York Heart Association (NYHA) Functional Classification III-IV congestive heart failure, high-risk arrhythmias, hypertrophic obstructive cardiomyopathies, and moderate-to-severe valvular disease.25 This class of drugs is also contraindicated in patients who use nitroglycerin or nitrate-containing compounds.26, 27
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. 
The sex hormone testosterone is far more than just the stuff of the alpha male's swagger. Though it plays a more significant role in the life of the biological male, it is actually present in both sexes to some degree. Despite popular perceptions that testosterone primarily controls aggression and sex drive—although it does play a role in both of those things—research has shown that individual levels of testosterone are also correlated with our language skills and cognitive abilities. Testosterone occurs in the body naturally, but can be administered as a medication, too: its most common uses are in the treatment of hypogonadism and breast cancer, as well as in hormone therapy for transgender men.
Men who produce more testosterone are more likely to engage in extramarital sex. Testosterone levels do not rely on physical presence of a partner; testosterone levels of men engaging in same-city and long-distance relationships are similar. Physical presence may be required for women who are in relationships for the testosterone–partner interaction, where same-city partnered women have lower testosterone levels than long-distance partnered women.
The doctor regularly measured my levels to be sure they were within the normal range for a male my age. In other words, I wasn’t taking ‘roids to get big; I was getting control of hormones that were not functioning well. This is how you should look at testosterone therapy – it is a gentle nudge to help you be in normal ranges, not a big push to get you huuu-yge. If you’re like me, you want “normal ranges” of a 27-year-old, not of a 60-year-old. It’s my plan to keep my testosterone where it is now (around 700) no matter what it takes. Right now, the Bulletproof Diet and the other biohacks I’ve written about do that! I’m 43.
It appears that testosterone has NOS-independent pathways as well. In one study, castrated rats were implanted with testosterone pellets and then divided into a group that received an NOS inhibitor (L-nitro-L-arginine methyl ester [L-NAME]) and a control group that received no enzyme.  The castrated rats that were given testosterone pellets and L-NAME still had partial erections, a result suggesting the presence of a pathway independent of NOS activity.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
Present in much greater levels in men than women, testosterone initiates the development of the male internal and external reproductive organs during foetal development and is essential for the production of sperm in adult life. This hormone also signals the body to make new blood cells, ensures that muscles and bones stay strong during and after puberty and enhances libido both in men and women. Testosterone is linked to many of the changes seen in boys during puberty (including an increase in height, body and pubic hair growth, enlargement of the penis, testes and prostate gland, and changes in sexual and aggressive behaviour). It also regulates the secretion of luteinising hormone and follicle stimulating hormone. To effect these changes, testosterone is often converted into another androgen called dihydrotestosterone.
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.
A team led by Dr. Joel Finkelstein at Massachusetts General Hospital investigated testosterone and estradiol levels in 400 healthy men, 20 to 50 years of age. To control hormone levels, the researchers first gave the participants injections of a drug that suppressed their normal testosterone and estradiol production. The men were randomly assigned to 5 groups that received different amounts (from 0 to 10 grams) of a topical 1% testosterone gel daily for 16 weeks. Half of the participants were also given a drug to block testosterone from being converted to estradiol.
The most common treatment for erectile dysfunction is drugs known as phosphodiesterase-5 (PDE-5) inhibitors. These include tadalafil (Cialis), vardenafil (Levitra), and sildenafil citrate (Viagra). These are effective for about 75% of men with erectile dysfunction. They are tablets that are taken around an hour before sex, and last between 4 and 36 hours. Sexual stimulation is required before an erection will occur. The PDE-5 inhibitors cause dilation of blood vessels in the penis to allow erection to occur, and help it to stay rigid. Men using nitrate medication (e.g. GTN spray or sublingual tablets for angina) should not use PDE-5 inhibitors.
Miscellaneous: Sleep: (REM sleep) increases nocturnal testosterone levels. Behavior: Dominance challenges can, in some cases, stimulate increased testosterone release in men. Drugs: Natural or man-made antiandrogens including spearmint tea reduce testosterone levels. Licorice can decrease the production of testosterone and this effect is greater in females.
Between 10 and 88% of patients diagnosed with cancer experience sexual problems following diagnosis and treatment. The prevalence varies according to the location and type of cancer, and the treatment modalities used. Sexuality may be affected by chemotherapy, alterations in body image due to weight change, hair loss or surgical disfigurement, hormonal changes, and cancer treatments that directly affect the pelvic region.
A larger national study, the National Health and Social Life Survey, looked at sexual function in men and women.4 This study surveyed 1,410 men aged 18 to 59 and also documented an increase in ED with age. Additionally, the study found a decrease in sexual desire with increasing age. Men in the oldest cohort (50 to 59) were more than 3 times as likely to experience erection problems and to report low sexual desire compared with men 18 to 29. Experience of sexual dysfunction was more likely among men in poor physical and emotional health. The study also concluded that sexual dysfunction is an important public health concern and that emotional issues are likely to contribute to the experience sexual dysfunction.
But if a man with sleep apnea is diagnosed with low testosterone alone, taking the supplemental hormone can worsen sleep apnea. That's why it's crucial for men with low testosterone to get a thorough workup by an endocrinologist so underlying conditions that can cause low testosterone, such as sleep apnea or pituitary-gland tumors, don't go undiagnosed, Dr. Goodman says.
"Some say it's just a part of aging, but that's a misconception," says Jason Hedges, MD, PhD, a urologist at Oregon Health and Science University in Portland. A gradual decline in testosterone can't explain a near-total lack of interest in sex, for example. And for Hedges' patients who are in their 20s, 30s, and early 40s and having erectile problems, other health problems may be a bigger issue than aging.
Capogrosso, P., Colicchia, M., Ventimiglia, E., Castagna, G., Clementi, M. C., Suardi, N., ... Salonia, A. (2013, July). One patient out of four with newly diagnosed erectile dysfunction is a young man — worrisome picture from the everyday clinical practice. The journal of sexual medicine. 10(7), 1833–1841. Retrieved from https://onlinelibrary.wiley.com/doi/full/10.1111/jsm.12179