Epidemiological evidence supports a link between testosterone and glucose metabolism. Studies in non-diabetic men have found an inverse correlation of total or free testosterone with glucose and insulin levels (Simon et al 1992; Haffner et al 1994) and studies show lower testosterone levels in patients with the metabolic syndrome (Laaksonen et al 2003; Muller et al 2005; Kupelian et al 2006) or diabetes (Barrett-Connor 1992; Andersson et al 1994; Rhoden et al 2005). A study of patients with type 2 diabetes using measurement of serum free testosterone by the gold standard method of equilibrium dialysis, found a 33% prevalence of biochemical hypogonadism (Dhindsa et al 2004). The Barnsley study demonstrated a high prevalence of clinical and biochemical hypogonadism with 19% having total testosterone levels below 8 nmol/l and a further 25% between 8–12 nmol/l (Kapoor, Aldred et al 2007). There are also a number longitudinal studies linking low serum testosterone levels to the future development of the metabolic syndrome (Laaksonen et al 2004) or type 2 diabetes (Haffner et al 1996; Tibblin et al 1996; Stellato et al 2000; Oh et al 2002; Laaksonen et al 2004), indicating a possible role of hypogonadism in the pathogenesis of type 2 diabetes in men. Alternatively, it has been postulated that obesity may be the common link between low testosterone levels and insulin resistance, diabetes and cardiovascular disease (Phillips et al 2003; Kapoor et al 2005). With regard to this hypothesis, study findings vary as to whether the association of testosterone with diabetes occurs independently of obesity (Haffner et al 1996; Laaksonen et al 2003; Rhoden et al 2005).

The hypogonadal-obesity-adipocytokine cycle hypothesis. Adipose tissue contains the enzyme aromatase which metabolises testosterone to oestrogen. This results in reduced testosterone levels, which increase the action of lipoprotein lipase and increase fat mass, thus increasing aromatisation of testosterone and completing the cycle. Visceral fat also promotes lower testosterone levels by reducing pituitary LH pulse amplitude via leptin and/or other factors. In vitro studies have shown that leptin also inhibits testosterone production directly at the testes. Visceral adiposity could also provide the link between testosterone and insulin resistance (Jones 2007).
If a trial of oral therapy and withdrawal of offending medications do not restore erectile function or if a patient has medical or financial contraindications to pharmacologic therapy, most primary care practitioners should consider referring the patient to a specialist for additional evaluation and discussion of alternative treatment options. However, some primary care practitioners may recommend vacuum constriction devices.
Psychological factors — Psychological issues such as depression, anxiety, guilt or fear can sometimes cause sexual problems. At one time, these factors were thought to be the major cause of impotence. Doctors now know that physical factors cause impotence in most men with the problem. However, embarrassment or "performance anxiety" can make a physical problem worse.
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."
^ Butenandt A, Hanisch G (1935). "Uber die Umwandlung des Dehydroandrosterons in Androstenol-(17)-one-(3) (Testosterone); um Weg zur Darstellung des Testosterons auf Cholesterin (Vorlauf Mitteilung). [The conversion of dehydroandrosterone into androstenol-(17)-one-3 (testosterone); a method for the production of testosterone from cholesterol (preliminary communication)]". Chemische Berichte (in German). 68 (9): 1859–62. doi:10.1002/cber.19350680937.
Your doctor will ask you questions about your symptoms and health history. They may do tests to determine if your symptoms are caused by an underlying condition. You should expect a physical exam where your doctor will listen to your heart and lungs, check your blood pressure, and examine your testicles and penis. They may also recommend a rectal exam to check your prostate. Additionally, you may need blood or urine tests to rule out other conditions.
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. [49]

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.
The reliable measurement of serum free testosterone requires equilibrium dialysis. This is not appropriate for clinical use as it is very time consuming and therefore expensive. The amount of bioavailable testosterone can be measured as a percentage of the total testosterone after precipitation of the SHBG bound fraction using ammonium sulphate. The bioavailable testosterone is then calculated from the total testosterone level. This method has an excellent correlation with free testosterone (Tremblay and Dube 1974) but is not widely available for clinical use. In most clinical situations the available tests are total testosterone and SHBG which are both easily and reliably measured. Total testosterone is appropriate for the diagnosis of overt male hypogonadism where testosterone levels are very low and also in excluding hypogonadism in patients with normal/high-normal testosterone levels. With increasing age, a greater number of men have total testosterone levels just below the normal range or in the low-normal range. In these patients total testosterone can be an unreliable indicator of hypogonadal status. There are a number of formulae that calculate an estimated bioavailable or free testosterone level using the SHBG and total testosterone levels. Some of these have been shown to correlate well with laboratory measures and there is evidence that they more reliably indicate hypogonadism than total testosterone in cases of borderline biochemical hypogonadism (Vermeulen et al 1971; Morris et al 2004). It is important that such tests are validated for use in patient populations relevant to the patient under consideration.
Cross-sectional studies conducted at the time of diagnosis of BPH have failed to show consistent differences in testosterone levels between patients and controls. A prospective study also failed to demonstrate a correlation between testosterone and the development of BPH (Gann et al 1995). Clinical trials have shown that testosterone treatment of hypogonadal men does cause growth of the prostate, but only to the size seen in normal men, and also causes a small increase in prostate specific antigen (PSA) within the normal range (Rhoden and Morgentaler 2005). Despite growth of the prostate a number of studies have failed to detect any adverse effects on symptoms of urinary obstruction or physiological measurements such as flow rates and residual volumes (Snyder et al 1999; Kenny et al 2000, 2001). Despite the lack of evidence linking symptoms of BPH to testosterone treatment, it remains important to monitor for any new or deteriorating problems when commencing patients on testosterone treatment, as the small growth of prostate tissue may adversely affect a certain subset of individuals.