Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.
Erectile dysfunction in older men. Because erections primarily involve the blood vessels, it is not surprising that the most common causes in older men are conditions that block blood flow to the penis, such as atherosclerosis or diabetes. Another vascular cause may be a faulty vein, which lets blood drain too quickly from the penis. Other physical disorders, as well as hormonal imbalances and certain operations, may also result in erectile dysfunction.
Erectile dysfunction (ED) is the inability to get and keep an erection firm enough for sexual intercourse. Estimates suggest that one of every 10 men will suffer from ED at some point during his lifetime. It is important to understand that in most cases, ED is a symptom of another, underlying problem. ED is not considered normal at any age, and may be associated with other problems that interfere with sexual intercourse, such as lack of desire and problems with orgasm and ejaculation.
Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in all men and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
With sex therapy, your counselor looks at the sexual problems you and your partner are having. Sex therapy works with problems such as performance anxiety, which means that you worry so much about whether you will be able to have sex that you are not able to. It also helps when you have erection problems that are not due to physical or drug problems, or premature ejaculation (you come too quickly). It may help you to reach orgasm or to learn to relax enough to avoid pain during sex. Counseling can help you to adjust to the treatment you and your doctor choose.
In patients who either fail to respond to first or second-line therapy, or are not interested in the conservative therapies, penile prosthesis implantation is available. Malleable and rigid implants were available for many years, but in 1973 the world of penile prosthetics took a giant leap forward with the advent of the inflatable penile implant. Most implants done nowadays are of the inflatable variety. Adverse events including malfunction and infection are rare, and patient satisfaction is very high.45
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. 
Additionally, the physiologic processes involving erections begin at the genetic level. Certain genes become activated at critical times to produce proteins vital to sustaining this pathway. Some researchers have focused on identifying particular genes that place men at risk for ED. At present, these studies are limited to animal models, and little success has been reported to date.  Nevertheless, this research has given rise to many new treatment targets and a better understanding of the entire process.
These medications don’t work for everyone but they are easy to use and work for around 60% of people who try them. They work by making it easier to get an erection by reducing the effect of (inhibiting) the chemical PDE-5. This chemical is used in the body to make sure there isn’t too much blood in the penis during an erection, but if you have erectile dysfunction then this chemical ends up over-compensating.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.