Diabetes is a well-recognized risk factor for ED. A systematic review and meta-analysis found that the prevalence of ED was 37.5% in type 1 diabetes, 66.3% in type 2 diabetes, and 52.5% in diabetes overall—a rate approximately 3.5 times higher than that in controls.  The etiology of ED in diabetic men probably involves both vascular and neurogenic mechanisms. Evidence indicates that establishing good glycemic control can minimize this risk.
The chemical synthesis of testosterone from cholesterol was achieved in August that year by Butenandt and Hanisch. Only a week later, the Ciba group in Zurich, Leopold Ruzicka (1887–1976) and A. Wettstein, published their synthesis of testosterone. These independent partial syntheses of testosterone from a cholesterol base earned both Butenandt and Ruzicka the joint 1939 Nobel Prize in Chemistry. Testosterone was identified as 17β-hydroxyandrost-4-en-3-one (C19H28O2), a solid polycyclic alcohol with a hydroxyl group at the 17th carbon atom. This also made it obvious that additional modifications on the synthesized testosterone could be made, i.e., esterification and alkylation.
Testosterone does a lot more than you’d think, whether we’re talking about male or female biology. It’s the hormone that helps you burn fat, build muscle , and increase your sex drive , and its power doesn’t stop there. Keeping your testosterone levels in a normal range can make you happier, too , and testosterone can even improve your cardiovascular health and decrease your risk of mortality (from all causes!), according to a study of 83,000 older men who underwent testosterone replacement therapy .
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
Think of erectile dysfunction as your body’s “check engine light.” The blood vessels in the penis are smaller than other parts of the body, so underlying conditions like blocked arteries, heart disease, or high blood pressure usually show up as ED before something more serious like a heart attack or stroke. ED is your body’s way of saying, “Something is wrong.” And the list of things that cause erectile dysfunction can include:
A number of research groups have tried to further define the relationship of testosterone and body composition by artificial alteration of testosterone levels in eugonadal populations. Induction of a hypogonadal state in healthy men (Mauras et al 1998) or men with prostate cancer (Smith et al 2001) using a gonadotrophin-releasing-hormone (GnRH) analogue was shown to produce increases in fat mass and decreased fat free mass. Another experimental approach in healthy men featured suppression of endogenous testosterone production with a GnRH analogue, followed by treatment with different doses of weekly intramuscular testosterone esters for 20 weeks. Initially the experiments involved men aged 18–35 years (Bhasin et al 2001) but subsequently the study was repeated with a similar protocol in men aged 60–75 years (Bhasin et al 2005). The different doses given were shown to produce a range of serum concentrations from subphysiological to supraphysiological (Bhasin et al 2001). A given testosterone dose produced higher serum concentrations of testosterone in the older age group (Bhasin et al 2005). Subphysiological dosing of testosterone produced a gain in fat mass and loss of fat free mass during the study. There were sequential decreases in fat mass and increases in fat free mass with each increase of testosterone dose. These changes in body composition were seen in physiological and supraphysiological treatment doses. The trend was similar in younger versus older men but the gain of fat mass at the lowest testosterone dose was less prominent in older patients (Bhasin et al 2001; Bhasin et al 2005). With regard to muscle function, the investigators showed dose dependent increases in leg strength and power with testosterone treatment in young and older men but there was no improvement in fatigability (Storer et al 2003; Bhasin et al 2005).
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.
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.
However, testosterone is only one of many factors that aid in adequate erections. Research is inconclusive regarding the role of testosterone replacement in the treatment of erectile dysfunction. In a review of studies that looked at the benefit of testosterone in men with erection difficulties, nearly half showed no improvement with testosterone treatment. Many times, other health problems play a role in erectile difficulties. These can include:
If it is determined that ED is a problem, the patient evaluation should include a detailed sexual and medical history and a physical exam. In particular, it is important to evaluate the ED within the context of ejaculatory problems. There is a strong interplay between premature ejaculation (PE) and ED, with about a third of ED patients reporting PE. The relationship between the PE and ED is bidirectional and successful treatment of one often requires treatment of the other.14
Dr. Adriane Fugh-Berman, associate professor of pharmacology and director of the industry watchdog group PharmedOut.org at Georgetown University School of Medicine, calls this kind of direct-to-consumer pharmaceutical advertising "evil." She likened the efforts to sell TRT to earlier campaigns to push hormone replacement therapy for post-menopausal women. "They stole the playbook," she said. "This hormone is being thrown around like sugar water."