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. 
If you have unstable heart disease of any kind, heart failure or unstable, what we call angina, contraindication to using the medications. All right? So if you’re in an unstable medical state, these medications are not a good idea. Now, there are relative issues. If you may be taking a blood pressure medicine or a medicine for your prostate which dilates your blood vessel a little bit– you know, the typical ones are what we call the alpha blockers– you may have an additive effect from the medication. But for the most part, the medicines are incredibly safe.
As blood flows into the penis, the corpora cavernosa swell, and this swelling compresses the veins (blood vessels that drain the blood out of the penis) against the tunica albuginea. Compression of the veins prevents blood from leaving the penis. This creates a hard erection. When the amount of cGMP decreases by the action of a chemical called phosphodiesterase type 5 (PDE5), the muscles in the penis tighten, and the blood flow into the penis decreases. With less blood coming into the penis, the veins are not compressed, allowing blood to drain out of the penis, and the erection goes down.
Male/Female Perceptions and Influences. The diagnosis of erectile dysfunction may be understood as the presence of a condition limiting choices for sexual interaction and possibly limiting opportunity for sexual satisfaction. The impact of this condition depends very much on the dynamics of the relationship of the individual and his sexual partner and their expectation of performance. When changes in sexual function are perceived by the individual and his partner as a natural consequence of the aging process, they may modify their sexual behavior to accommodate the condition and maintain sexual satisfaction. Increasingly, men do not perceive erectile dysfunction as a normal part of aging and seek to identify means by which they may return to their previous level and range of sexual activities. Such levels and expectations and desires for future sexual interactions are important aspects of the evaluation of patients presenting with a chief complaint of erectile dysfunction.
Treatment. prostatitis or another acute infection affecting the genitalia can cause temporary impotence that clears up in response to antibiotics. The smooth muscle relaxant sildenafil (viagra) was introduced in 1998 as a treatment for organic impotence. Administration of testosterone may be indicated if low levels of this hormone are found in a blood sample. If impotence is organic and does not respond to other therapies, a penile prosthesis can be implanted; this is usually done surgically by a urologist. Other therapies include the use of vacuum tumescence devices and penile injection of pharmacologic agents that cause dilation.