If a trial of oral ED therapy and withdrawal of offending medications prove to be ineffective in restoring erectile function, it is appropriate for most primary care practitioners to consider referral to a specialist for additional evaluation and discussion of alternative treatment options. These include intracavernous injection therapy, vacuum constriction devices, intraurethral therapy, and possible surgery.
Over a 2-year period, a third of the men randomized to a weight loss program demonstrated resolution of erectile dysfunction.10 A Mediterranean diet and nutritional counseling reported increased erectile quality.18 Little evidence supports that increased physical activity alone improves erectile quality; however, the strong association between physical activity and lower BMI is well described, and therefore recommended for men with erectile dysfunction and without a contraindication to physical activity.
Of particularly concern are antihypertensive medications for CVD (eg, digoxin, disopyramide [Norpace], gemfibrozil [Lopid]), anxiety, depression (eg, lithium, monoamine oxidase inhibitors, selective serotonin reuptake inhibitors, serotonin-norepinephrine reuptake inhibitors, tricyclic antidepressants), or psychosis (eg, chlorpromazine, haloperidol, pimozide [Orap], thioridazine, thiothixene). Antihypertensive drugs, such as diuretics (eg, spironolactone, thiazides) and beta blockers, may be associated with ED. Discontinuation or switching to alternative drugs, such as angiotensin-converting enzyme inhibitors or calcium channel blockers (eg, diltiazem, nifedipine, amlodipine), may reduce ED. The newer angiotensin II receptor antagonists may be less problematic with respect to ED, but long-term data is needed to evaluate this.
Diabetes is a well-recognized risk factor for ED. A systematic review and meta-analysis found that the prevalence of ED was 37.5% in type 1 diabetes, 66.3% in type 2 diabetes, and 52.5% in diabetes overall—a rate approximately 3.5 times higher than that in controls.  The etiology of ED in diabetic men probably involves both vascular and neurogenic mechanisms. Evidence indicates that establishing good glycemic control can minimize this risk.
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). 
Yes, it's possible to cure erectile dysfunction. The first step is to find out what's causing it. For some men, it's as simple as changing medications. Some drugs - those that treat high blood pressure or depression, for example - can make erections fizzle. So can alcohol and recreational drugs. Other causes are also treatable, including hormonal imbalances, hypertension, high cholesterol, obesity, diabetes and smoking, all of which can impede blood flow to the penis. For some men, ED is all in their heads, so consulting a mental health practitioner to help resolve anxiety, depression or learn techniques for dealing with stress can take the "dys" out of dysfunction.
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'.