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). 
The phrase “use it before you lose it” can be applied when it comes to helping men with ED regain normal erectile function. Pelvic exercises, more commonly known as kegel exercises, are used to promote urinary continence and sexual health. They help to strengthen the bulbocavernosus muscle, which does three things: allows the penis to engorge with blood during erection, it pumps during ejaculation, and it helps empty the urethra after urination, according to Healthline.
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. 
If a trial of oral therapy and withdrawal of offending medications do not restore erectile function or if a patient has medical or financial contraindications to pharmacologic therapy, most primary care practitioners should consider referring the patient to a specialist for additional evaluation and discussion of alternative treatment options. However, some primary care practitioners may recommend vacuum constriction devices.
PDE5i for ED in patients with MS can be considered as reasonably effective and safe. Fowler et al. performed a randomized, multicenter, double-blind, flexible dose trial with open label extensions comparing sildenafil to placebo (75). A nearly 4-fold increase in effective erections was noted in the treatment arm, 96% vs. 24%. Sexual satisfaction and overall satisfaction were also improved in the treatment group based on IIEF scores, and quality of life assessments. Lombardi et al. evaluated tadalafil use in men with MS (71). Seventy eight percent of the men responded with improved erections, better quality of life with regards to sexual function, partner relationship and family life. Just less than half the men who responded to the tadalafil did so at the lower dosage of 10 mg. Subjects in either studies did not have any significant adverse side effects beyond flushing, and headache with PDE5i use.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
ICI therapy often produces a reliable erection, which comes down after 20-30 minutes or with climax. Since the ICI erection is not regulated by your penile nerves, you should not be surprised if the erection lasts after orgasm. The most common side effect of ICI therapy is a prolonged erection. Prolonged erections (>1 hour) can be reversed by a second injection (antidote) in the office.