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).
In one study, 9.6% reported ‘occasional’ erectile dysfunction, 8.9% reported erectile dysfunction occurring ‘often’, and 18.6% reported erectile dysfunction occurring ‘all the time’. Of these, only 11.6% had received treatment.In another study, only 14.1% of men reported that they had received treatment, despite experiencing erectile dysfunction for longer than 12 months.
^ Butenandt A, Hanisch G (1935). "Umwandlung des Dehydroandrosterons in Androstendiol und Testosterone; ein Weg zur Darstellung des Testosterons aus Cholestrin" [About Testosterone. Conversion of Dehydro-androsterons into androstendiol and testosterone; a way for the structure assignment of testosterone from cholesterol]. Hoppe-Seyler's Z Physiol Chem (in German). 237 (2): 89–97. doi:10.1515/bchm2.1935.237.1-3.89.
The medications are extremely effective, which is very good. And the medications are, for the most part, extremely well-tolerated. But there are, like with any medications, a potential downside. The one absolute downside to the use of any of these erection what we call PDE5 medications is if a patient is using a nitroglycerin medication. And nitroglycerins are used for heart disease and for angina, for the most part, although there are some recreational uses of nitrites. And that’s important because your blood vessels will dilate and your blood pressure will drop. And that is an absolute contraindication.
If you have unstable heart disease of any kind, heart failure or unstable, what we call angina, contraindication to using the medications. All right? So if you’re in an unstable medical state, these medications are not a good idea. Now, there are relative issues. If you may be taking a blood pressure medicine or a medicine for your prostate which dilates your blood vessel a little bit– you know, the typical ones are what we call the alpha blockers– you may have an additive effect from the medication. But for the most part, the medicines are incredibly safe.
Commercials do mention other potential side-effects for the male user, calling them "rare," including swollen and painful breasts, blood clots in the legs, increased risk for prostate cancer, problems breathing during sleep (sleep apnea), change in the size and shape of the testicles, and a low sperm count. But you're not supposed to focus on the details. Instead, just think of the energy you'll have. The great sex you'll have. And the muscles. It will be a veritable second adolescence as your aging body bursts into new bloom.
Another recent development is the production of adhesive tablets which are applied twice daily to the buccal mucosa on the gum above the incisor teeth. The tablets gradually release testosterone into the systemic venous circulation and steady state physiological concentrations are achieved in most patients within two days (Ross et al 2004). Some patients do not like the feeling of the tablet in the mouth or find that there is an abnormal taste in the mouth, but local adverse effects are usually mild and transient (Wang, Swerdloff et al 2004).
Some self-administered measures may be useful in the primary care setting to screen for and evaluate the degree of ED.12 The most commonly used instrument is the International Index of Erectile Function, a 15-item questionnaire that has been validated in many populations and is considered the gold standard to evaluate patients for ED.13 The Sexual Health Inventory for Men is a short-form, 5-item questionnaire developed to monitor treatment progress.12 It is important to recognize that short-form questionnaire does not evaluate specific areas of the sexual cycle, such as sexual desire, ejaculation, and orgasm; however, it may be useful in discussing ED with patients and evaluating treatment results over time.
Other side effects include increased risk of heart problems in older men with poor mobility, according to a 2009 study at Boston Medical Center. A 2017 study published in JAMA found that treatments increase coronary artery plaque volume. Additionally, the Food and Drug Administration (FDA) requires manufactures to include a notice on the labeling that states taking testosterone treatments can lead to possible increased risk of heart attacks and strokes. The FDA recommends that patients using testosterone should seek medical attention right away if they have these symptoms:
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. 
The FDA recommends that men follow general precautions before taking a medication for ED. Men who are taking medications that contain nitrates, such as nitroglycerin, should NOT use these medications. Taking nitrates with one of these medications can lower blood pressure too much. In addition, men who take tadalafil or vardenfil should use alpha blockers with care and only as instructed by their physician, as they could result in hypotension (abnormally low blood pressure). Experts recommend that men have a complete medical history and physical examination to determine the cause of ED. Men should tell their doctor about all the medications they are taking, including over-the-counter medications.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
Patients receiving penile prostheses should be instructed in the operation of the prosthesis before surgery and again in the postoperative period. The prosthesis usually is not activated until approximately 6 weeks after surgery, so as to allow the edema and pain to subside. The prosthesis is checked in the office before the patient begins to use it.