Robbins, C. L., Schick, V., Reece. M., Herbenick, D., Sanders, S. A. Dodge, B., & Fortenberry J. D., (2011, December 1). Prevalence, frequency, and associations of masturbation with partnered sexual behaviors among US adolescents. JAMA Pediatrics, 165(12), 1087–1093. Retrieved from https://jamanetwork.com/journals/jamapediatrics/fullarticle/1107656
Total levels of testosterone in the body are 264 to 916 ng/dL in men age 19 to 39 years, while mean testosterone levels in adult men have been reported as 630 ng/dL. Levels of testosterone in men decline with age. In women, mean levels of total testosterone have been reported to be 32.6 ng/dL. In women with hyperandrogenism, mean levels of total testosterone have been reported to be 62.1 ng/dL.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
Vascular damage may result from radiation therapy to the pelvis and prostate in the treatment of prostate cancer.  Both the blood vessels and the nerves to the penis may be affected. Radiation damage to the crura of the penis, which are highly susceptible to radiation damage, can induce ED. Data indicate that 50% of men undergoing radiation therapy lose erectile function within 5 years after completing therapy; fortunately, some respond to one of the PDE5 inhibitors.
In a randomized double-blind, parallel, placebo-controlled trial, sildenafil plus testosterone was not superior to sildenafil plus placebo in improving erectile function in men with ED and low testosterone levels.  The objective of the study was to determine whether the addition of testosterone to sildenafil therapy improves erectile response in men with ED and low testosterone levels.
It may also become a treatment for anemia, bone density and strength problems. In a 2017 study published in the journal of the American Medical Association (JAMA), testosterone treatments corrected anemia in older men with low testosterone levels better than a placebo. Another 2017 study published in JAMA found that older men with low testosterone had increased bone strength and density after treatment when compared with a placebo.
When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.
Longitudinal studies in male aging studies have shown that serum testosterone levels decline with age (Harman et al 2001; Feldman et al 2002). Total testosterone levels fall at an average of 1.6% per year whilst free and bioavailable levels fall by 2%–3% per year. The reduction in free and bioavailable testosterone levels is larger because aging is also associated with increases in SHBG levels (Feldman et al 2002). Cross-sectional data supports these trends but has usually shown smaller reductions in testosterone levels with aging (Feldman et al 2002). This is likely to reflect strict entry criteria to cross-sectional studies so that young healthy men are compared to older healthy men. During the course of longitudinal studies some men may develop pathologies which accentuate decreases in testosterone levels.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
There have been case reports of development of prostate cancer in patients during treatment with testosterone, including one case series of twenty patients (Gaylis et al 2005). It is not known whether this reflects an increase in incidence, as prostate cancer is very common and because the monitoring for cancer in patients treated with testosterone is greater. Randomized controlled trials of testosterone treatment have found a low incidence of prostate cancer and they do not provide evidence of a link between testosterone treatment and the development of prostate cancer (Rhoden and Morgentaler 2004). More large scale clinical trials of longer durations of testosterone replacement are required to confirm that testosterone treatment does not cause prostate cancer. Overall, it is not known whether testosterone treatment of aging males with hypogonadism increases the risk of prostate cancer, but monitoring for the condition is clearly vital. This should take the form of PSA blood test and rectal examination every three months for the first year of treatment and yearly thereafter (Nieschlag et al 2005). Age adjusted PSA reference ranges should be used to identify men who require further assessment. The concept of PSA velocity is also important and refers to the rate of increase in PSA per year. Patients with abnormal rectal examination suggestive of prostate cancer, PSA above the age specific reference range or a PSA velocity greater than 0.75 ng/ml/yr should be referred to a urologist for consideration of prostate biopsy.
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.
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