Treatment depends on the underlying cause. In general, exercise, particularly of the aerobic type, is effective for preventing ED during midlife. Exercise as a treatment is under investigation.:6, 18–19 For tobacco smokers, cessation often results in a significant improvement. Oral pharmacotherapy and vacuum erection devices are first-line treatments,:20, 24 followed by injections of drugs into the penis, as well as penile implants.:25–26 Vascular reconstructive surgeries are beneficial in certain groups.
Communicate with your partner. Do you feel comfortable and accepted when it comes to your sexual performance? If you're worried about meeting your partner's too-high expectations or living up to some kind of standard, it will be harder to maintain an erection - it's called performance anxiety. If you think your partner's judgment might be hindering your ability to have satisfying sex, you need to communicate your needs and find ways to make your sexual environment more inviting.
The Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
Levitra is available in two strengths: 10 mg and 20 mg. It is not necessary to take it on an empty stomach. Levitra should be started at low dose in men taking certain medications called CYP3A4 inhibitors (ketoconazole, medications for HIV, and clarithromycin) and should be not be used in individuals with a known heart problem called prolonged QT interval or with medications that prolong the QT interval.
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.
First, medical conditions need to be ruled out. Let’s assume that you have never been diagnosed with a medical condition that is physically linked to erectile dysfunction, such as type 2 diabetes, obesity or heart disease. In this case you’re probably looking at a case of psychological impotence, given that there are no physical explanations for your difficulties.
A physical cause can be identified in about 80% of cases. These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases. In psychological impotence, there is a strong response to placebo treatment.
Erectile dysfunction (previously called impotence) is the inability to get or maintain an erection that is sufficient to ensure satisfactory sex for both partners. This problem can cause significant distress for couples. Fortunately more and more men of all ages are seeking help, and treatment for ED has advanced rapidly. The enormous demand for “anti-impotence” drugs suggests that erection problems may be more common than was previously thought. Find out more about the causes and treatment of erectile dysfunction here.
Psychological factors — Psychological issues such as depression, anxiety, guilt or fear can sometimes cause sexual problems. At one time, these factors were thought to be the major cause of impotence. Doctors now know that physical factors cause impotence in most men with the problem. However, embarrassment or "performance anxiety" can make a physical problem worse.
Apomorphine is a non-selective D1/D2 receptor agonist with moderate efficacy and good tolerability in the treatment of mild ED (80). Apomorphine can be administered via subcutaneous injection or sublingually. However, studies have shows a lower efficacy for apomorphine compared to oral sildenafil (81,82). Apomorphine has a set role in the management of PD for non-motor symptoms, and has been reported to cause spontaneous erections and possible hypersexuality in PD men (83,84). Its role in the management of ED has been postulated for men with PD but should be considered as an alternative to sildenafil.
Vacuum devices for ED, also called pumps, offer an alternative to medication. The penis is placed inside a cylinder. A pump draws air out of the cylinder, creating a partial vacuum around the penis. This causes it to fill with blood, leading to an erection. An elastic band worn around the base of the penis maintains the erection during intercourse.
These are not currently approved by the FDA for ED management, but they may be offered through research studies (clinical trials). Patients who are interested should discuss the risks and benefits (informed consent) of each, as well as costs before starting any clinical trials. Most therapies not approved by the FDA are not covered by government or private insurance benefits.