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. 
An occasional problem achieving an erection is nothing to worry about. But failure to do so more than 50% of the time at any age may indicate a condition that needs treatment. About 40% of men in their 40s report at least occasional problems getting and maintaining erections. So do more than half (52%) of men aged 40 to 70, and about 70% of men in their 70s.
Some self-administered measures may be useful in the primary care setting to screen for and evaluate the degree of ED.12 The most commonly used instrument is the International Index of Erectile Function, a 15-item questionnaire that has been validated in many populations and is considered the gold standard to evaluate patients for ED.13 The Sexual Health Inventory for Men is a short-form, 5-item questionnaire developed to monitor treatment progress.12 It is important to recognize that short-form questionnaire does not evaluate specific areas of the sexual cycle, such as sexual desire, ejaculation, and orgasm; however, it may be useful in discussing ED with patients and evaluating treatment results over time.
PDE5 inhibitors, the primary second-line therapy, have been the mainstay of ED treatment since the release of sildenafil (Viagra) in 1998, with the subsequent development of many others, and still more in the development stage. These medications do improve erectile quality for the majority of men, and they work by enhancing blood flow in the corpora cavernosa. These medications are generally used on demand and need to be taken about an hour before sexual intimacy. Tadalafil (Cialis) is longer acting and does come in a daily preparation potentially eliminating the ‘on-demand’ need. The daily dosing of tadalafil, 2.5–5 mg\day, has also been approved by the FDA for treatment of symptoms of BPH.41 PDE5 inhibitors are contraindicated in men taking nitrates, but otherwise PDE5 inhibitors are very safe and effective. When PDE5 inhibitors are coadministered with nitrates, pronounced systemic vasodilation and severe hypotension are possible. Many patients with ED are elderly and have the same risk factors as patients with CAD, so these drug combinations are commonly considered or encountered in clinical practice.42
This penile tumescence monitor is placed at the base and near the corona of the penis. It is connected to a monitor that records a continuous graph depicting the force and duration of erections that occur during sleep. The monitor is strapped to the leg. The nocturnal penile tumescence test is conducted on several nights to obtain an accurate indication of erections that normally occur during the alpha phase of sleep.
The pathogenesis of organic ED is related to dysfunction of the endothelium. Endothelial cells can become injured through a variety of mechanisms, most of which cause oxidative stress on the tissues. Many of these causes of oxidative stress are related to lifestyle issues which lead to hypertension, diabetes and dyslipidaemia (figure 1). Endothelial cell dysfunction results in reduction of endothelium-dependent vasorelaxation as well as increased adhesion of leukocytes to the endothelium. Endothelial cell injury then leads to a variety of sequelae, including ED, other types of vasoconstriction, atherosclerosis and thrombus formation.18
Organic ED involves abnormalities the penile arteries, veins, or both and is the most common cause of ED, especially in older men. When the problem is arterial, it is usually caused by arteriosclerosis, or hardening of the arteries, although trauma to the arteries may be the cause. The controllable risk factors for arteriosclerosis--being overweight, lack of exercise, high cholesterol, high blood pressure, and cigarette smoking--can cause erectile failure often before progressing to affect the heart.
The Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
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
Quitting smoking, exercising regularly, losing excess weight, curtailing excessive alcohol consumption, controlling hypertension, and optimizing blood glucose levels in patients with diabetes are not only important for maintaining good health but also may improve or even prevent progression of erectile dysfunction. It is unclear if such lifestyle changes can reverse erectile dysfunction. However, lifestyle improvements may prevent progression of the erectile dysfunction. Some studies suggest that men who have made lifestyle improvements experience increased rates of success with oral medications.
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
The Prostate Cancer Prevention Trial was a landmark study by Thompson et al that prospectively assessed the time to developing CVD after the diagnosis of ED. There were 4247 men with no ED at study entry; 2420 developed incident ED (defined as the first report of ED of any grade) over 5 years. Those men that developed ED had a 1.45-fold higher probability of experiencing a CV event compared with men who did not develop ED.27
Chronic stress dumps adrenaline in your system multiple times a day. And that can lead to high blood pressure, heart disease, obesity, and diabetes. Chronic stress is like red-lining your car all day long. When you drive 100 mph all the time, something is going to break down. A high-stress environment can actually change the way your brain sends messages to your body. Dumping too much adrenaline into your bloodstream can affect blood flow and severely limit your ability to achieve and maintain an erection.
Long-term predictions based on an aging population and an increase in risk factors (eg, hypertension, diabetes, vascular disease, pelvic and prostate surgery, benign prostatic hyperplasia, and lower urinary tract symptoms) suggest a large increase in the number of men with ED. In addition, the prevalence of ED is underestimated because physicians frequently do not question their patients about this disorder.
In rare cases, the drug Viagra ® can cause blue-green shading to vision that lasts for a short time. In rare cases, the drug Cialis® can cause or increase back pain or aching muscles in the back. In most cases, the side effects are linked to PDE5 inhibitor effects on other tissues in the body, meaning they are working to increase blood flow to your penis and at the same time impacting other vascular tissues in your body. These are not ‘allergic reactions'.