Testosterone is the primary sex hormone in men, and it is responsible for the development of many of the physical characteristics that are considered typically male. Women also produce the hormone in much smaller amounts. Testosterone, part of a hormone class known as androgens, is produced by the testicles after stimulation by the pituitary gland, which is located near the base of the brain, and it sends signals to a male's testicles (or to a woman's ovaries) that spark feelings of sexual desire. (1)
As blood levels of testosterone increase, this feeds back to suppress the production of gonadotrophin-releasing hormone from the hypothalamus which, in turn, suppresses production of luteinising hormone by the pituitary gland. Levels of testosterone begin to fall as a result, so negative feedback decreases and the hypothalamus resumes secretion of gonadotrophin-releasing hormone.
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. 
Dr. Ronald Swerdloff, chief of the endocrinology division at the Harbor-UCLA Medical Center and a professor of medicine at UCLA's David Geffen School of Medicine, served on the panel of experts who developed the Endocrine Society's guidelines. He is also the principal investigator for one of the 12 sites of The Testosterone Trial in Older Men, a nationwide study funded mainly by the National Institute on Aging. The study of 800 men over age 65 with low testosterone is looking at whether men using AndroGel for one year, compared to placebo, will show improvements in walking speed, sexual activity, vitality, memory, and anemia. The study will be completed in June 2015.
ED usually has something physical behind it, particularly in older men. But psychological factors can be a factor in many cases of ED. Experts say stress, depression, poor self-esteem, and performance anxiety can short-circuit the process that leads to an erection. These factors can also make the problem worse in men whose ED stems from something physical.
The aim of treatment for hypogonadism is to normalize serum testosterone levels and abolish symptoms or pathological states that are due to low testosterone levels. The exact target testosterone level is a matter of debate, but current recommendations advocate levels in the mid-lower normal adult range (Nieschlag et al 2005). Truly physiological testosterone replacement would require replication of the diurnal rhythm of serum testosterone levels, but there is no current evidence that this is beneficial (Nieschlag et al 2005).
^ Jump up to: a b Sapienza P, Zingales L, Maestripieri D (September 2009). "Gender differences in financial risk aversion and career choices are affected by testosterone". Proceedings of the National Academy of Sciences of the United States of America. 106 (36): 15268–73. Bibcode:2009PNAS..10615268S. doi:10.1073/pnas.0907352106. PMC 2741240. PMID 19706398.
Implantation of penile prosthesis remains an important option for men with ED if medical treatment fails or is inappropriate. Prostheses are available as a saline-filled silicone device or a malleable device. The benefit of the former is a more natural appearance in the deflated state, closely approximating the appearance of a flaccid penis. The trade-off is a higher mechanical failure rate and higher cost. Satisfaction rates for patients who underwent penile prosthesis surgery have been reported to be near 90%.36 However, in the majority of patients who receive this treatment, less invasive alternatives have failed and therefore satisfaction with this treatment would be expected to be higher in this subset of patients. Risks of these devices include surgical and anesthetic risk, device infection, and device malfunction. Mechanical failure rates depend on the specific device being investigated. Overall, the percentage of devices that are free from mechanical failure at 5 years ranges from 84% to 94%.19 Infection rates in the era of coated devices and improved techniques are reported to be less than 1%.37
The sexual hormone can encourage fair behavior. For the study, subjects took part in a behavioral experiment where the distribution of a real amount of money was decided. The rules allowed both fair and unfair offers. The negotiating partner could subsequently accept or decline the offer. The fairer the offer, the less probable a refusal by the negotiating partner. If no agreement was reached, neither party earned anything. Test subjects with an artificially enhanced testosterone level generally made better, fairer offers than those who received placebos, thus reducing the risk of a rejection of their offer to a minimum. Two later studies have empirically confirmed these results. However men with high testosterone were significantly 27% less generous in an ultimatum game. The Annual NY Academy of Sciences has also found anabolic steroid use which increase testosterone to be higher in teenagers, and this was associated with increased violence. Studies have also found administered testosterone to increase verbal aggression and anger in some participants.
Sleep apnea is another frequently listed contraindication to testosterone treatment. There have been a few reports of the development, or worsening, of sleep apnea during testosterone therapy (Matsumoto et al 1985) but sleep apnea is actually associated with lower serum testosterone levels (Luboshitzky et al 2002). The reduction in fat mass during treatment with testosterone could potentially be beneficial for sleep apnea, so many specialists will still consider patients for treatment with appropriate monitoring. It is wise to take a clinical history for sleep apnea during testosterone treatment in all men and perform sleep studies in those who develop symptoms.
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.
Alprostadil is injected into the side of penis with a very fine needle. It's of great value to have the first shot in the doctor's office before doing this on your own. Self-injection lessons should be given in your doctor's office by an experienced professional. The success rate for getting an erection firm enough to have sex is as high as 85% with this treatment. Many men who do not respond to oral PDE5 inhibitors can be ‘rescued' with ICI.
Due to the risk of hypotension, caution should be used in patients using alpha blockers for prostate hyperplasia and patients using other antihypertensive medications and alpha blockers, which should not be co-administered with PDE5 inhibitors. In patients who take 50 mg of sildenafil or more and use alpha blockers, sildenafil dosing should be avoided for at least 4 hours after the dose of the alpha blocker. In patients who take 25 mg of sildenafil, use of any alpha blockers is considered safe.
Treatment depends on the underlying cause. In general, exercise, particularly of the aerobic type, is effective for preventing ED during midlife. Exercise as a treatment is under investigation.:6, 18–19 For tobacco smokers, cessation often results in a significant improvement. Oral pharmacotherapy and vacuum erection devices are first-line treatments,:20, 24 followed by injections of drugs into the penis, as well as penile implants.:25–26 Vascular reconstructive surgeries are beneficial in certain groups.
Relationship problems often complicate erectile dysfunction. Improving your relationship may be part of the solution. It may be a good idea to get counseling together from a sex therapist, marriage counselor, or a medical specialist. "I almost always see couples together to discuss erectile dysfunction. It often turns out that both partners have issues regarding the sexual relationship and once they are out in the open, couples can work together on a more satisfying sexual experience," says Feloney.
Penile erection is managed by two mechanisms: the reflex erection, which is achieved by directly touching the penile shaft, and the psychogenic erection, which is achieved by erotic or emotional stimuli. The former uses the peripheral nerves and the lower parts of the spinal cord, whereas the latter uses the limbic system of the brain. In both cases, an intact neural system is required for a successful and complete erection. Stimulation of the penile shaft by the nervous system leads to the secretion of nitric oxide (NO), which causes the relaxation of smooth muscles of corpora cavernosa (the main erectile tissue of penis), and subsequently penile erection. Additionally, adequate levels of testosterone (produced by the testes) and an intact pituitary gland are required for the development of a healthy erectile system. As can be understood from the mechanisms of a normal erection, impotence may develop due to hormonal deficiency, disorders of the neural system, lack of adequate penile blood supply or psychological problems. Spinal cord injury causes sexual dysfunction including ED. Restriction of blood flow can arise from impaired endothelial function due to the usual causes associated with coronary artery disease, but can also be caused by prolonged exposure to bright light.
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. 
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:
The link between chronic disease and ED is most striking for diabetes. Men who have diabetes are two to three times more likely to have erectile dysfunction than men who do not have diabetes. Among men with erectile dysfunction, those with diabetes may experience the problem as much as 10 to 15 years earlier than men without diabetes. Yet evidence shows that good blood sugar control can minimize this risk. Other conditions that may cause ED include cardiovascular disease, atherosclerosis (hardening of the arteries), kidney disease, and multiple sclerosis. These illnesses can impair blood flow or nerve impulses throughout the body.
Unlike women, who experience a rapid drop in hormone levels at menopause, men experience a more gradual decrease of testosterone levels over time. The older the man, the more likely he is to experience below-normal testosterone levels. Men with testosterone levels below 300 ng/dL may experience some degree of low T symptoms. Your doctor can conduct a blood test and recommend treatment if needed. They can discuss the potential benefits and risks of testosterone medication, as well.
"The hard part," said Dr. Anawalt, "is the man who is 50 pounds overweight and sedentary, who sees a TV ad and goes to see his doctor. Let's say he has a thoughtful doctor who does the right test, at the right time of day (morning), and the test comes back low. Many of these guys will have low or slightly low testosterone. We have no evidence for whether or not it's a benefit to give these guys testosterone." He added that concern about their testosterone level could be a good thing if it spurs men to lose weight and exercise. "A low testosterone level can be a marker of poor health," he said.
Long-term predictions based on an aging population and an increase in risk factors (eg, hypertension, diabetes, vascular disease, pelvic and prostate surgery, benign prostatic hyperplasia, and lower urinary tract symptoms) suggest a large increase in the number of men with ED. In addition, the prevalence of ED is underestimated because physicians frequently do not question their patients about this disorder.
Several pathways have been described to explain how information travels from the hypothalamus to the sacral autonomic centers. One pathway travels from the dorsomedial hypothalamus through the dorsal and central gray matter, descends to the locus ceruleus, and projects ventrally in the mesencephalic reticular formation. Input from the brain is conveyed through the dorsal spinal columns to the thoracolumbar and sacral autonomic nuclei.
Abnormally high levels of testosterone could be the result of an adrenal gland disorder, or even cancer of the testes. High levels may also occur in less serious conditions. Congenital adrenal hyperplasia, which can affect males and females, is a rare but natural cause for elevated testosterone production. Your doctor may order other tests if your levels are exceedingly high.
Begot, I., Peixoto, T. C. A., Gonzaga, L. R. A., Bolzan, D. W., Papa, V., Carvalho, A. C. C., ... & Guizilini, S. (2015, March 1). A Home-Based Walking Program Improves Erectile Dysfunction in Men With an Acute Myocardial Infarction. The American Journal of Cardiology, 115(5), 5741-575. Retrieved from http://www.ajconline.org/article/S0002-9149(14)02270-X/abstract
The Food and Drug Administration (FDA) does not recommend alternative therapies to treat sexual dysfunction. Many products are advertised as "herbal viagra" or "natural" sexual enhancement products, but no clinical trials or scientific studies support the effectiveness of these products for the treatment of ED, and synthetic chemical compounds similar to sildenafil have been found as adulterants in many of these products. The FDA has warned consumers that any sexual enhancement product that claims to work as well as prescription products is likely to contain such a contaminant.
A vacuum erection device is a plastic tube that slips over the penis, making a seal with the skin of the body. A pump at the other end of the tube makes a low-pressure vacuum around the erectile tissue, which results in an erection. An elastic ring is then slipped onto the base of the penis. This holds the blood in the penis (and keeps it hard) for up to 30 minutes. With proper training, 75 out of 100 men can get a working erection using a vacuum erection device.