When sexually stimulated there is a release of a chemical, nitric oxide (NO) in the blood vessels of the corpus cavernosum. The NO stimulates the production of a compound called cGMP, which causes relaxation of the smooth muscle in the blood vessels supplying the corpus cavernosum. PDE 5 is an enzyme that breaks down cGMP. By inhibiting the breakdown of cGMP by PDE5, these medications allow cGMP to build up in the penis. cGMP causes muscles in the corpora cavernosa of the penis to relax. When the muscle is relaxed, more blood can flow into the penis and fill the spaces in the penis. As the penis fills with blood, the veins in the penis are compressed, and this results a hard erection. When the effect on PDE5 decreases, the cGMP levels go down and the muscle in the penis contracts, causing less blood to flow into the penis and allowing the veins to open up and drain blood out of the penis.
Inside the cell, NOS catalyzes the oxidation of L-arginine to NO and L-citrulline. Endogenous blockers of this pathway have been identified. The gaseous NO that is produced acts as a neurotransmitter or paracrine messenger. Its biologic half-life is only 5 seconds. NO may act within the cell or diffuse and interact with nearby target cells. In the corpora cavernosa, NO activates guanylate cyclase, which in turn increases cyclic guanosine monophosphate (cGMP). Relaxation of vascular smooth muscles by cGMP leads to vasodilation and increased blood flow.
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. 
It is important that physicians and other health care providers treating patients for chronic conditions periodically inquire into the sexual functioning of their patients and be prepared to offer counsel for those who experience erectile difficulties. Lack of sexual knowledge and anxiety about sexual performance are common contributing factors to erectile dysfunction. Education and reassurance may be helpful in preventing the cascade into serious erectile failure in individuals who experience minor erectile difficulty due to medications or common changes in erectile functioning associated with chronic illnesses or with aging.
Psychological processes such as depression, anxiety, and relationship problems can impair erectile functioning by reducing erotic focus or otherwise reducing awareness of sensory experience. This may lead to inability to initiate or maintain an erection. Etiologic factors for erectile disorders may be categorized as neurogenic, vasculogenic, or psychogenic, but they most commonly appear to derive from problems in all three areas acting in concert.
Did you know that erectile dysfunction precedes coronary artery disease in almost 70 percent of cases.2 The arteries in the penis are smaller than those that cause heart disease symptoms, which means they are likely to be affected by blockages sooner. When the arteries in the penis are blocked, keeping an erection will be difficult regardless of your level of arousal.
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
Radical prostatectomy for the treatment of prostate cancer poses a significant risk of ED. A number of factors are associated with the chance of preserving erectile function. If both nerves that course on the lateral edges of the prostate can be saved, the chance of maintaining erectile function is reasonable. The odds depend on the age of the patient. Men younger than 60 years have a 75-80% chance of preserving potency, but men older than 70 years have only a 10-15% chance.
Does drinking water improve erectile dysfunction? Erectile dysfunction or ED is a common concern for men. Everyday factors, such as hydration levels, may affect a person's ability to get or maintain an erection. Drinking water may, therefore, help some men with ED. In this article, learn about the link between hydration and ED, and other factors that can cause ED. Read now