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). 
Implantable penile prostheses are usually considered a last resort for treating impotence. They are implanted in the corpora cavernosa to make the penis rigid without the need for blood flow. The semirigid type of prosthesis consists of a pair of flexible silicone rods that can be bent up or down. This type of device has a low failure rate but, unfortunately, it causes the penis to always be erect, which can be difficult to conceal under clothing.
And surgery comes with its own serious risks, such as developing incontinence or impotence, while radiation can result in urinary problems. — Peter Loftus, WSJ, "Surgery Adds Three Years to Lives of Prostate-Cancer Patients, Study Finds," 12 Dec. 2018 Male-impotence pill Viagra began facing generic competition late last year, while the Lyrica pain treatment is expected to confront generics at the end of this year. — Jonathan D. Rockoff, WSJ, "Pfizer Narrows Guidance on Tougher Pricing, Generic Competition," 30 Oct. 2018 Arkham Horror Third Edition is a classic struggle of agency versus impotence, set in the uncanny world of H.P. Lovecraft’s Cthulhu mythos. — Charlie Theel, Ars Technica, "Arkham Horror Third Edition: The classic Lovecraft adventure returns," 24 Nov. 2018 There’s obviously a lot of anger and frustration here toward the US government at the moment—along with side effects like bottled rage and sometimes a creeping sense of ineptitude or impotence about our ability to do anything about it. — Corey Seymour, Vogue, "Pussy Riot's Nadya Tolokonnikova On Her New Guide To Activism, Raising The Next President Of Russia, And Her "Holy War" On Fairy Tales," 12 Oct. 2018 In exchange for political impotence, they would be mostly left alone and allowed to get rich. — Paul Mozur, New York Times, "Inside China’s Dystopian Dreams: A.I., Shame and Lots of Cameras," 8 July 2018 Their suspicion is compounded by rumors that the polio vaccine causes impotence, death and, ironically, paralysis. — Meher Ahmad, New York Times, "Pakistan Has Just One New Polio Case, but Isn’t Declaring Victory Yet," 20 May 2018 Fighting back, even as an exercise in impotence, did a lot for McCain. — Alex Horton, Washington Post, "John McCain rebelled at the Naval Academy — and as a POW — long before he was a Senate maverick," 3 May 2018 Feelings of desperation and impotence are being felt throughout Central America, where the lawlessness, endemic poverty and levels of gang violence akin to war zones that have driven so many families from their homes show little signs of abating. — Washington Post, "Violence keeps Central Americans coming to US despite Trump," 21 June 2018
The percentage of men who engage in some form of sexual activity decreases from 73% for men aged 57–64 years to 26% for men aged 75–85 years.3 For some men, this constitutes a problem, but for others it does not. The aetiology for this decline in sexual activity is multifactorial and is in part due to the fact that most of the female partners undergo menopause at 52 years of age with a significant decline in their libido and desire to engage in sexual activity. A study by Lindau and colleagues3 that examined sexuality in older Americans showed that 50% of the men in a probability sample of more than 3000 US adults reported at least one bothersome sexual problem and 33% had at least two such problems.3 This article will review the normal changes that occur with ageing, factors that influence these changes, individual variations and perspectives, and the available treatment options for ED and androgen deficiency.
Certain types of blood pressure medications, antiulcer drugs, antihistamines, tranquilizers (especially before intercourse), antifungals (hetoconazole), antipsychotics, antianxiety drugs, and antidepressants, known as selective serotonin reuptake inhibitors (SSRIs, including Prozac and Paxil), can interfere with erectile function. Smoking, excessive alcohol consumption, and illicit drug use may also contribute. In rare cases, low levels of the male hormone testosterone may contribute to erectile failure. Finally, psychological factors, such as stress, guilt, or anxiety, may also play a role, even when the impotence is primarily due to organic causes.
The art of acupuncture has become the new treatment for everything from back pain, depression, and even ED. Impotence could be more of a state of mind, and acupuncture may help. Through this alternative therapy, fine needles are placed in various parts of the body to relieve pain or stress. Although there are many mixed studies for acupuncture and ED, many tend to confirm positive results. A 1999 study found acupuncture improved the quality of erection and even restored sexual activity in 39 percent of participants.
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.
The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.