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.
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.
Qaseem, A., Snow, V., Denberg, T. D., Casey, D. E., Forciea, M. A., Owens, D. K., & Shekelle, P. (2009). Hormonal testing and pharmacologic treatment of erectile dysfunction: A clinical practice guideline from the American College of Physicians. Annals of internal medicine, 151(9), 639-649. Retrieved from http://annals.org/aim/article/745155/hormonal-testing-pharmacologic-treatment-erectile-dysfunction-clinical-practice-guideline-from
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
Sildenafil has been previously suggested as a treatment option for ED in men with epilepsy (77,78). However, Matos et al. warned that PDE5i are potentially pro-convulsant and should be used with great caution in men with epilepsy (79). Animal studies in rat and mice overwhelmingly suggest PDE5i can reduce seizure threshold. In human trials, seizures were rare but reported. PDE5i exerted their proconvulsive effect by lower seizure threshold possibly by worsening sleep or obstructive sleep apnea, causing cardiovascular changes, or leading to EEG changes specifically with tadalafil use.
The role of the endothelium in ED has been noted for a number of years and the overlapping of ED and other conditions, especially coronary heart disease, CVD, affecting endothelial function/dysfunction, is clearly present. The endothelial cell is now known to affect vascular tone and impact the process of atherosclerosis, and impacting ED, CVD and peripheral vascular disease.16
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.