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. 
“Cardiovascular exercise and weight resistance exercises increase a man’s testosterone, which helps ward off ED,” Gittens says. The problem is, your testosterone levels drop as you age. Your levels now as a 25-year-old will drop about 50 percent by the time you're 75, according to data from the Reviews of Urology. To keep your levels high, check out this testosterone-boosting workout.
Your erection problems may be putting a strain on your relationship. You may have stopped touching and cuddling your partner, scared that it could lead to sex - and then to disappointment because you cannot get hard. You may have found it has led to regular arguments. At its worst, erection problems can lead to the breakdown of relationships. So it is vitally important to talk things over with your partner.
There are treatments available to help you to get and maintain an erection. In addition, making healthy changes to your lifestyle could help with impotence. Switching to a healthier balanced diet, taking more exercise and cutting down on or giving up alcohol and cigarettes could help you to see an improvement in sexual function. If you think that the problem may be related to stress or anxiety, counselling can also help.
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.
Psychological Causes of ED – Between 10% and 20% of ED cases have a psychological cause. Because arousal starts in the brain, psychological issues can be a significant contributing factor to erectile dysfunction. Mental health conditions like depression or anxiety can negatively impact your libido, making it more difficult for you to become aroused.
The most common inflatable prosthesis is the three-piece penile prosthesis. It is composed of paired cylinders, which doctors surgically insert inside the penis. Patients can expand the cylinders using pressurized fluid (see figure 3). Tubes connect the cylinders to a fluid reservoir and pump, which doctors also surgically implant. The reservoir is usually in the pelvis. A doctor places the pump in the scrotum. By pressing on the pump, sterile fluid transfers from the reservoir into the cylinders in the penis. An erection is produced primarily by expansion of the width of the penis, however, one model can increase in length a small amount also. Lock-out valves in the tubing prevent the fluid from leaving the cylinder until a release valve is pressed. By pressing the relief valve and gently squeezing the penis, the fluid within the cylinders transfers back into the reservoir.
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.