The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
Testosterone is included in the World Health Organization's list of essential medicines, which are the most important medications needed in a basic health system. It is available as a generic medication. The price depends on the form of testosterone used. It can be administered as a cream or transdermal patch that is applied to the skin, by injection into a muscle, as a tablet that is placed in the cheek, or by ingestion.
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. 
Many clinical studies have looked at the effect of testosterone treatment on body composition in hypogonadal men or men with borderline low testosterone levels. Some of these studies specifically examine these changes in older men (Tenover 1992; Morley et al 1993; Urban et al 1995; Sih et al 1997; Snyder et al 1999; Kenny et al 2001; Ferrando et al 2002; Steidle et al 2003; Page et al 2005). The data from studies, on patients from all age groups, are consistent in showing an increase in fat free mass and decrease in fat mass or visceral adiposity with testosterone treatment. A recent meta-analysis of 16 randomized controlled trials of testosterone treatment effects on body composition confirms this pattern (Isidori et al 2005). There have been less consistent results with regard to the effects of testosterone treatment of muscle strength. Some studies have shown an increase in muscle strength (Ferrando et al 2002; Page et al 2005) with testosterone whilst others have not (Snyder et al 1999). Within the same trial some muscle group strengths may improve whilst others do not (Ly et al 2001). It is likely that the differences are partly due to the methodological variations in assessing strength, but it also possible that testosterone has different effects on the various muscle groups. The meta-analysis found trends toward significant improvements in dominant knee and hand grip strength only (Isidori et al 2005).
Alcohol is a depressant, not an aphrodisiac or a libido enhancer. Excessive consumption can interfere with the ability to achieve an erection at any age, and even occasional drinking can make erectile dysfunction worse in older men. Feloney advises using alcohol in moderation: "In small amounts, alcohol can relieve anxiety and may help with erectile dysfunction, but if you drink too much, it can cause erectile dysfunction or make the problem worse."
Late onset hypogonadism reflects a particular pathophysiology and it may not be appropriate to extrapolate results from studies concerning the effects of testosterone in treating hypogonadism of other etiology to aging males. For this reason, the age of men treated in clinical trials is certainly relevant. Other important factors include patient comorbidities and the preparation and route of testosterone replacement used in the study, which can affect the production of estrogen and dihydrotestosterone, testosterone’s active metabolites
Although not proven, it is likely that erectile dysfunction can be prevented by good general health, paying particular attention to body weight, exercise, and cigarette smoking. For example, heart disease and diabetes are problems that can cause erectile dysfunction, and both are preventable through lifestyle changes such as sensible eating and regular exercise. Furthermore, early diagnosis and treatment of associated conditions like diabetes, hypertension and high cholesterol may prevent or delay erectile dysfunction, or stop the erectile dysfunction from getting more serious.
So what is this Big T, anyway? Derived from cholesterol, testosterone is a steroid hormone—called an androgen—that causes the development and maintenance of masculine characteristics. It's mainly secreted by the testicles in males, although the adrenal cortex and ovaries in females also secrete testosterone—though only about one-tenth the amount as in healthy males.
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. 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. 5α-Reductase is highly expressed in the male reproductive organs (including the prostate gland, seminal vesicles, and epididymides), skin, hair follicles, and brain and aromatase is highly expressed in adipose tissue, bone, and the brain. As much as 90% of testosterone is converted into 5α-DHT in so-called androgenic tissues with high 5α-reductase expression, and due to the several-fold greater potency of 5α-DHT as an AR agonist relative to testosterone, it has been estimated that the effects of testosterone are potentiated 2- to 3-fold in such tissues.
Erectile dysfunction (ED) is commonly called impotence. It’s a condition in which a man can’t achieve or maintain an erection during sexual performance. Symptoms may also include reduced sexual desire or libido. Your doctor is likely to diagnose you with ED if the condition lasts for more than a few weeks or months. ED affects as many as 30 million men in the United States.
This penile tumescence monitor is placed at the base and near the corona of the penis. It is connected to a monitor that records a continuous graph depicting the force and duration of erections that occur during sleep. The monitor is strapped to the leg. The nocturnal penile tumescence test is conducted on several nights to obtain an accurate indication of erections that normally occur during the alpha phase of sleep.
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.
Another effect that can limit treatment is polycythemia, which occurs due to various stimulatory effects of testosterone on erythropoiesis (Zitzmann and Nieschlag 2004). Polycythemia is known to produce increased rates of cerebral ischemia and there have been reports of stroke during testosterone induced polycythaemia (Krauss et al 1991). It is necessary to monitor hematocrit during testosterone treatment, and hematocrit greater than 50% should prompt either a reduction of dose if testosterone levels are high or high-normal, or cessation of treatment if levels are low-normal. On the other hand, late onset hypogonadism frequently results in anemia which will then normalize during physiological testosterone replacement.
This evidence, together with the beneficial effects of testosterone replacement on central obesity and diabetes, raises the question whether testosterone treatment could be beneficial in preventing or treating atherosclerosis. No trial of sufficient size or duration has investigated the effect of testosterone replacement in primary or secondary prevention cardiovascular disease. The absence of such data leads us to examine the relationship of testosterone to other cardiovascular risk factors, such as adverse lipid parameters, blood pressure, endothelial dysfunction, coagulation factors, inflammatory markers and cytokines. This analysis can supply evidence of the likely effects of testosterone on overall cardiovascular risk. This has limitations, however, including the potential for diverging effects of testosterone on the various factors involved and the resultant impossibility of accurately predicting the relative impact of such changes.
Attention, memory, and spatial ability are key cognitive functions affected by testosterone in humans. Preliminary evidence suggests that low testosterone levels may be a risk factor for cognitive decline and possibly for dementia of the Alzheimer's type, a key argument in life extension medicine for the use of testosterone in anti-aging therapies. Much of the literature, however, suggests a curvilinear or even quadratic relationship between spatial performance and circulating testosterone, where both hypo- and hypersecretion (deficient- and excessive-secretion) of circulating androgens have negative effects on cognition.
It is essential to discuss erectile dysfunction with your doctor, so any serious underlying causes can be excluded and treatment options can be discussed. Many men are embarrassed discussing this issue with their doctor, or even their partner. Open communication with your doctor, and in your relationship, is important for effectively managing this common problem.
Topical testosterone, specifically gels, creams and liquids, may transfer to others. Women and children are most at risk of harmful effects from contact with them. You should take care to cover the area and wash your hands well after putting on the medication. Be careful not to let the site with the topical TT touch others because that could transfer the drug.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.
Trials of testosterone treatment in men with type 2 diabetes have also taken place. A recent randomized controlled crossover trial assessed the effects of intramuscular testosterone replacement to achieve levels within the physiological range, compared with placebo injections in 24 men with diabetes, hypogonadism and a mean age of 64 years (Kapoor et al 2006). Ten of these men were insulin treated. Testosterone treatment led to a significant reduction in glycated hemoglobin (HbA1C) and fasting glucose compared to placebo. Testosterone also produced a significant reduction in insulin resistance, measured by the homeostatic model assessment (HOMA), in the fourteen non-insulin treated patients. It is not possible to measure insulin resistance in patients treated with insulin but five out of ten of these patients had a reduction of insulin dose during the study. Other significant changes during testosterone treatment in this trial were reduced total cholesterol, waist circumference and waist-hip ratio. Similarly, a placebo-controlled but non-blinded trial in 24 men with visceral obesity, diabetes, hypogonadism and mean age 57 years found that three months of oral testosterone treatment led to significant reductions in HbA1C, fasting glucose, post-prandial glucose, weight, fat mass and waist-hip ratio (Boyanov et al 2003). In contrast, an uncontrolled study of 150 mg intramuscular testosterone given to 10 patients, average age 64 years, with diabetes and hypogonadism found no significant change in diabetes control, fasting glucose or insulin levels (Corrales et al 2004). Another uncontrolled study showed no beneficial effect of testosterone treatment on insulin resistance, measured by HOMA and ‘minimal model’ of area under acute insulin response curves, in 11 patients with type 2 diabetes aged between 33 and 73 years (Lee et al 2005). Body mass index was within the normal range in this population and there was no change in waist-hip ratio or weight during testosterone treatment. Baseline testosterone levels were in the low-normal range and patients received a relatively small dose of 100 mg intramuscular testosterone every three weeks. A good increase in testosterone levels during the trial is described but it is not stated at which time during the three week cycle the testosterone levels were tested, so the lack of response could reflect an insufficient overall testosterone dose in the trial period.