The most common treatment for erectile dysfunction is drugs known as phosphodiesterase-5 (PDE-5) inhibitors. These include tadalafil (Cialis), vardenafil (Levitra), and sildenafil citrate (Viagra). These are effective for about 75% of men with erectile dysfunction. They are tablets that are taken around an hour before sex, and last between 4 and 36 hours. Sexual stimulation is required before an erection will occur. The PDE-5 inhibitors cause dilation of blood vessels in the penis to allow erection to occur, and help it to stay rigid. Men using nitrate medication (e.g. GTN spray or sublingual tablets for angina) should not use PDE-5 inhibitors.
Sexual dysfunction is highly prevalent in men and women. In the MMAS, 52% of the respondents reported some degree of erectile difficulty. Complete ED, defined as (1) the total inability to obtain or maintain an erection during sexual stimulation and (2) the absence of nocturnal erections, occurred in 10% of the respondents. Mild and moderate ED occurred in 17% and 25% of responders, respectively. 
Sexual functioning involves a complex interaction among biologic, sociocultural, and psychological factors, and the complexity of this interaction makes it difficult to ascertain the clinical etiology of sexual dysfunction. Before any diagnosis of sexual dysfunction is made, problems that are explained by a nonsexual mental disorder or other stressors must first be addressed. Thus, in addition to the criteria for erectile disorder, the following must be considered:
Testosterone is used as a medication for the treatment of males with too little or no natural testosterone production, certain forms of breast cancer, and gender dysphoria in transgender men. This is known as hormone replacement therapy (HRT) or testosterone replacement therapy (TRT), which maintains serum testosterone levels in the normal range. Decline of testosterone production with age has led to interest in androgen replacement therapy. It is unclear if the use of testosterone for low levels due to aging is beneficial or harmful.
Her remark was entirely destructive of poetry, since it was to the effect that poetry had nothing whatever to do with her; all her friends spent their lives in making up phrases, she said; all his feeling was an illusion, and next moment, as if to taunt him with his impotence, she had sunk into one of those dreamy states which took no account whatever of his existence.
Erectile dysfunction is a common finding in the aging male. A prevalence of over 70% was found in men older than 70 in a recent cross-sectional study (Ponholzer et al 2005). Treatment with phosphodiesterase-5 (PDE-5) inhibitors is proven to be effective for the majority of men but some do not respond (Shabsigh and Anastasiadis 2003). The condition is multi-factorial, with contributions from emotional, vascular, neurological and pharmacological factors. The concept of erectile dysfunction as a vascular disease is particularly interesting in view of the evidence presented above, linking testosterone to atherosclerosis and describing its action as a vasodilator.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
Male hypogonadism becomes more common with increasing age and is currently an under-treated condition. The diagnosis of hypogonadism in the aging male requires a combination of symptoms and low serum testosterone levels. The currently available testosterone preparations can produce consistent physiological testosterone levels and provide for patient preference.
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.
This is similar to magnetic resonance imaging. Magnetic resonance angiography uses magnetic fields and radio waves to provide detailed images of the blood vessels. Doctors may inject a "contrast agent" into the person's bloodstream that causes vascular tissues to stand out against other tissues. The contrast agent provides for enhanced information regarding blood supply and vascular anomalies.
During the second trimester, androgen level is associated with sex formation. This period affects the femininization or masculinization of the fetus and can be a better predictor of feminine or masculine behaviours such as sex typed behaviour than an adult's own levels. A mother's testosterone level during pregnancy is correlated with her daughter's sex-typical behavior as an adult, and the correlation is even stronger than with the daughter's own adult testosterone level.
The main surgical treatment of ED involves insertion of a penile implant (also called penile prostheses). Because penile vascular surgery is not recommended for aging males who have failed oral PDE5 inhibitors, ICI or IU therapies, implants are the next step for these patients. Although placement of a penile implant is a surgery which carries risks, they have the highest rates of success and satisfaction among ED treatment options.
Patients at high cardiovascular risk should not be treated for ED until their cardiac condition is stabilize. These conditions include unstable or refractory angina, myocardial infarction or cerebrovascular accident within the past 2 weeks, uncontrolled hypertension, New York Heart Association (NYHA) Functional Classification III-IV congestive heart failure, high-risk arrhythmias, hypertrophic obstructive cardiomyopathies, and moderate-to-severe valvular disease.25 This class of drugs is also contraindicated in patients who use nitroglycerin or nitrate-containing compounds.26, 27
If you have symptoms of ED, it’s important to check with your doctor before trying any treatments on your own. This is because ED can be a sign of other health problems. For instance, heart disease or high cholesterol could cause ED symptoms. With a diagnosis, your doctor could recommend a number of steps that would likely improve both your heart health and your ED. These steps include lowering your cholesterol, reducing your weight, or taking medications to unclog your blood vessels.
Surgery: If neither drugs nor the vacuum pump works, your doctor may suggest surgery. With surgery, the doctor can place a device in your penis that will cause enough hardness for intercourse. In a few cases, infections may develop after the operation, and the doctor may have to remove the device. Another operation that may help you is rebuilding the blood vessels in the penis to increase blood flow into the penis or decrease blood flow out of the penis. These procedures can help you to get and maintain an erection.
In addition to conjugation and the 17-ketosteroid pathway, testosterone can also be hydroxylated and oxidized in the liver by cytochrome P450 enzymes, including CYP3A4, CYP3A5, CYP2C9, CYP2C19, and CYP2D6. 6β-Hydroxylation and to a lesser extent 16β-hydroxylation are the major transformations. The 6β-hydroxylation of testosterone is catalyzed mainly by CYP3A4 and to a lesser extent CYP3A5 and is responsible for 75 to 80% of cytochrome P450-mediated testosterone metabolism. In addition to 6β- and 16β-hydroxytestosterone, 1β-, 2α/β-, 11β-, and 15β-hydroxytestosterone are also formed as minor metabolites. Certain cytochrome P450 enzymes such as CYP2C9 and CYP2C19 can also oxidize testosterone at the C17 position to form androstenedione.
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.