Hypogonadism is a disease in which the body is unable to produce normal amounts of testosterone due to a problem with the testicles or with the pituitary gland that controls the testicles. Testosterone replacement therapy can improve the signs and symptoms of low testosterone in these men. Doctors may prescribe testosterone as injections, pellets, patches or gels.
Qaseem, A., Snow, V., Denberg, T. D., Casey, D. E., Forciea, M. A., Owens, D. K., & Shekelle, P. (2009). Hormonal testing and pharmacologic treatment of erectile dysfunction: A clinical practice guideline from the American College of Physicians. Annals of internal medicine, 151(9), 639-649. Retrieved from http://annals.org/aim/article/745155/hormonal-testing-pharmacologic-treatment-erectile-dysfunction-clinical-practice-guideline-from

Both testosterone and 5α-DHT are metabolized mainly in the liver.[1][147] Approximately 50% of testosterone is metabolized via conjugation into testosterone glucuronide and to a lesser extent testosterone sulfate by glucuronosyltransferases and sulfotransferases, respectively.[1] An additional 40% of testosterone is metabolized in equal proportions into the 17-ketosteroids androsterone and etiocholanolone via the combined actions of 5α- and 5β-reductases, 3α-hydroxysteroid dehydrogenase, and 17β-HSD, in that order.[1][147][148] Androsterone and etiocholanolone are then glucuronidated and to a lesser extent sulfated similarly to testosterone.[1][147] The conjugates of testosterone and its hepatic metabolites are released from the liver into circulation and excreted in the urine and bile.[1][147][148] Only a small fraction (2%) of testosterone is excreted unchanged in the urine.[147]

Important future developments will include selective androgen receptor modulators (SARMs). These drugs will be able to produce isolated effects of testosterone at androgen receptors. They are likely to become useful clinical drugs, but their initial worth may lie in facilitating research into the relative importance of testosterone’s action at the androgen receptor compared to at other sites or after conversion to other hormones. Testosterone will remain the treatment of choice for late onset hypogonadism for some time to come.
Two of the immediate metabolites of testosterone, 5α-DHT and estradiol, are biologically important and can be formed both in the liver and in extrahepatic tissues.[147] Approximately 5 to 7% of testosterone is converted by 5α-reductase into 5α-DHT, with circulating levels of 5α-DHT about 10% of those of testosterone, and approximately 0.3% of testosterone is converted into estradiol by aromatase.[2][147][153][154] 5α-Reductase is highly expressed in the male reproductive organs (including the prostate gland, seminal vesicles, and epididymides),[155] skin, hair follicles, and brain[156] and aromatase is highly expressed in adipose tissue, bone, and the brain.[157][158] As much as 90% of testosterone is converted into 5α-DHT in so-called androgenic tissues with high 5α-reductase expression,[148] and due to the several-fold greater potency of 5α-DHT as an AR agonist relative to testosterone,[159] it has been estimated that the effects of testosterone are potentiated 2- to 3-fold in such tissues.[160]
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.
They also don't make clear how risky exposure to testosterone gel is for others—female partners, children, even pets. The gel is actually notorious for transferring to others. It can cause excess hair to grow on women's faces and arms, deepen their voices, interrupt menstruation, and make them anxious and irritable. In children, exposure to testosterone gels and creams can cause premature puberty and aggression. And in pets, it can cause aggressive behavior and enlargement of the genitalia.
In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. [45]

Low-intensity extracorporeal shock wave therapy has been proposed as a new non-invasive treatment for erectile dysfunction caused by problems with blood vessels. Shock wave therapy machines are now available in some medical practices in Australia. Although there is some evidence that it may help a proportion of men with erectile dysfunction, more research is needed before clear recommendations on its use can be made.
Performance anxiety can be another cause of impotence. If a person wasn’t able to achieve an erection in the past, he may fear he won’t be able to achieve an erection in the future. A person may also find he can’t achieve an erection with a certain partner. Someone with ED related to performance anxiety may be able to have full erections when masturbating or when sleeping, yet he isn’t able to maintain an erection during intercourse.

In a recent study of male workers, men with low testosterone levels had an increased chance of severe erectile dysfunction (Kratzik et al 2005), although such a link had not been found previously (Rhoden et al 2002). Certainly erectile dysfunction is considered part of the clinical syndrome of hypogonadism, and questions regarding erectile dysfunction form part of the clinical assessment of patients with hypogonadism (Morley et al 2000; Moore et al 2004).