All devices that are currently approved by the FDA are considered safe for use in magnetic resonance imaging environments. However, 2 previously approved devices–the OmniPhase and the DuraPhase penile prostheses–are not considered safe in this environment. Other surgical procedures–including venous ligation to limit penile venous outflow and penile revascularization procedures–are rarely successful and are not recommended.19 These surgeries are only indicated when a patient demonstrates recent-onset ED and an occlusive lesion seen on angiogram or magnetic resonance angiography and should be performed only in centers of excellence for ED.
If you’re experiencing psychological ED, you may benefit from talk therapy. Therapy can help you manage your mental health. You’ll likely work with your therapist over several sessions, and your therapist will address things like major stress or anxiety factors, feelings around sex, or subconscious conflicts that could be affecting your sexual well-being.
If it is determined that ED is a problem, the patient evaluation should include a detailed sexual and medical history and a physical exam. In particular, it is important to evaluate the ED within the context of ejaculatory problems. There is a strong interplay between premature ejaculation (PE) and ED, with about a third of ED patients reporting PE. The relationship between the PE and ED is bidirectional and successful treatment of one often requires treatment of the other.14
Total levels of testosterone in the body are 264 to 916 ng/dL in men age 19 to 39 years, while mean testosterone levels in adult men have been reported as 630 ng/dL. Levels of testosterone in men decline with age. In women, mean levels of total testosterone have been reported to be 32.6 ng/dL. In women with hyperandrogenism, mean levels of total testosterone have been reported to be 62.1 ng/dL.
Other factors leading to erectile dysfunction are diabetes mellitus, which is a well-known cause of neuropathy). ED is also related to generally poor physical health, poor dietary habits, obesity, and most specifically cardiovascular disease, such as coronary artery disease and peripheral vascular disease. Screening for cardiovascular risk factors, such as smoking, dyslipidemia, hypertension, and alcoholism is helpful.
Erectile dysfunction (ED) affects 50% of men older than 40 years,  exerting substantial effects on quality of life.  This common problem is complex and involves multiple pathways. Penile erections are produced by an integration of physiologic processes involving the central nervous, peripheral nervous, hormonal, and vascular systems. Any abnormality in these systems, whether from medication or disease, has a significant impact on the ability to develop and sustain an erection, ejaculate, and experience orgasm.
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.
In accordance with sperm competition theory, testosterone levels are shown to increase as a response to previously neutral stimuli when conditioned to become sexual in male rats. This reaction engages penile reflexes (such as erection and ejaculation) that aid in sperm competition when more than one male is present in mating encounters, allowing for more production of successful sperm and a higher chance of reproduction.
Robbins, C. L., Schick, V., Reece. M., Herbenick, D., Sanders, S. A. Dodge, B., & Fortenberry J. D., (2011, December 1). Prevalence, frequency, and associations of masturbation with partnered sexual behaviors among US adolescents. JAMA Pediatrics, 165(12), 1087–1093. Retrieved from https://jamanetwork.com/journals/jamapediatrics/fullarticle/1107656
Instead of the hesitation with which he had accosted the cardinal a quarter of an hour before, there might be read in the eyes of the young king that will against which a struggle might be maintained, and which might be crushed by its own impotence, but which, at least, would preserve, like a wound in the depth of the heart, the remembrance of its defeat.
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.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
Low testosterone levels can cause mood disturbances, increased body fat, loss of muscle tone, inadequate erections and poor sexual performance, osteoporosis, difficulty with concentration, memory loss and sleep difficulties. Current research suggests that this effect occurs in only a minority (about 2%) of ageing men. However, there is a lot of research currently in progress to find out more about the effects of testosterone in older men and also whether the use of testosterone replacement therapy would have any benefits.
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.
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.
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).
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.
Testosterone is a steroid from the androstane class containing a keto and hydroxyl groups at the three and seventeen positions respectively. It is biosynthesized in several steps from cholesterol and is converted in the liver to inactive metabolites. It exerts its action through binding to and activation of the androgen receptor. In humans and most other vertebrates, testosterone is secreted primarily by the testicles of males and, to a lesser extent, the ovaries of females. On average, in adult males, levels of testosterone are about 7 to 8 times as great as in adult females. As the metabolism of testosterone in males is greater, the daily production is about 20 times greater in men. Females are also more sensitive to the hormone.
Recently, a panel with cooperation from international andrology and urology societies, published specific recommendations with regard to the diagnosis of Late-onset Hypogonadism (Nieschlag et al 2005). These are summarized in the following text. It is advised that at least two serum testosterone measurements, taken before 11 am on different mornings, are necessary to confirm the diagnosis. The second sample should also include measurement of gonadotrophin and prolactin levels, which may indicate the need for further investigations for pituitary disease. Patients with serum total testosterone consistently below 8 nmol/l invariably demonstrate the clinical syndrome of hypogonadism and are likely to benefit from treatment. Patients with serum total testosterone in the range 8–12 nmol/l often have symptoms attributable to hypogonadism and it may be decided to offer either a clinical trial of testosterone treatment or to make further efforts to define serum bioavailable or free testosterone and then reconsider treatment. Patients with serum total testosterone persistently above 12 nmol/l do not have hypogonadism and symptoms are likely to be due to other disease states or ageing per se so testosterone treatment is not indicated.
Usually there will not be a specific treatment that will lead to the improvement of erectile dysfunction. However, there are treatments that will allow erections to happen and can be used to allow sexual activity to take place. There are three main types of treatments: non-invasive treatments such as tablet medicines and external devices (e.g. vacuum device); penile injections; or for men who have not had success with other treatments, surgery may be an option.
When Solvay Pharmaceuticals, maker of market-dominating Androgel, launched its "Low T" campaign, in 2008, it claimed that 13 million American men over age 45 suffered from low testosterone, 90 percent of them undiagnosed. Its website, IsItLowT.com, showed dumpy, depressed men and their unhappy spouses remembering how it "used to be." Why settle for dumpiness and depression, the website and related TV ads suggested, when a little dab'll do you?
^ Southren AL, Gordon GG, Tochimoto S, Pinzon G, Lane DR, Stypulkowski W (May 1967). "Mean plasma concentration, metabolic clearance and basal plasma production rates of testosterone in normal young men and women using a constant infusion procedure: effect of time of day and plasma concentration on the metabolic clearance rate of testosterone". The Journal of Clinical Endocrinology and Metabolism. 27 (5): 686–94. doi:10.1210/jcem-27-5-686. PMID 6025472.
It may also become a treatment for anemia, bone density and strength problems. In a 2017 study published in the journal of the American Medical Association (JAMA), testosterone treatments corrected anemia in older men with low testosterone levels better than a placebo. Another 2017 study published in JAMA found that older men with low testosterone had increased bone strength and density after treatment when compared with a placebo.