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. 
Prior to the introduction of PDE5i in 1998, intracavernosal vasoactive medications and penile implant surgery were the mainstays of treatment. Penile implant surgery involves placement of inflatable or malleable rods within the corpora cavernosa to provide rigidity for intercourse. Choice of which implant to place usually depends upon manual dexterity and function of the patient, patient anatomy, physician preference and surgical approach.
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'.