Diet can also affect a man’s ability to achieve or maintain an erection. As stated, men who indulge in alcohol may have trouble with erections, but men who have poor diets, suffer from diabetes, or who are overweight can also restrict blood flow to the penis or suffer from poor body image. All of these factors, especially when combined, can lead to erectile dysfunction.
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.
Tadalafil (Cialis) is the third oral medicine approved by the U.S. FDA for the treatment of erectile dysfunction. Like sildenafil (Viagra) and vardenafil (Levitra), tadalafil inhibits PDE5 (as described earlier). Unlike the other PDE 5 inhibitors, patients should take tadalafil once daily and is approved for the treatment of BPH (benign enlargement of the prostate).
In some cases, ED can be a warning sign of more serious disease. One study suggests ED is a strong predictor of heart attack, stroke, and death from cardiovascular disease. The researchers say all men diagnosed with ED should be evaluated for cardiovascular disease. This does not mean every man with ED will develop heart disease, or that every man with heart disease has ED, but patients should be aware of the link.
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.
It is essential to discuss erectile dysfunction with your doctor, so any serious underlying causes can be excluded and treatment options can be discussed. Many men are embarrassed discussing this issue with their doctor, or even their partner. Open communication with your doctor, and in your relationship, is important for effectively managing this common problem.
The health care provider will ask about the firmness and duration of erections at different times (e.g., sex with partners, erections after sleep). Discussing sexual dysfunction with a health care provider is very important because many conditions causing it can be successfully treated. If a man has no diseases that cause ED and can have an erection with masturbation or early morning awakening, he likely has ED due to psychological causes.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
Examination of the vascular system is particularly relevant to the evaluation of the impotent patient. Absence of pulses in the feet and presence of femoral bruits suggest atherosclerosis. However, normal femoral and pedal pulses do not exclude selective obstruction to penile blood flow. Direct palpation of the dorsal artery of the penis may be informative if pulsation is absent. The presence of a pulse, however, does not rule out vascular disease, particularly in a patient who is able to achieve normal erections at rest, but unable to maintain them during thrusting. At the same time that the penile pulses are palpated, the examiner should feel for plaques in the corpora cavernosa which would indicate Peyronie's disease.
Smoking damages blood vessels, inhibiting blood flow throughout the body ... and I mean throughout the body. While studies have found that men with erectile problems only make up 20 percent of the general population, 40 percent of men with erectile problems are smokers. And a 2011 study of a group of male smokers with erectile problems found that 75 percent of them saw those erectile problems disappear after they quit.
If you're regularly having trouble getting or maintaining erection and it's not situation specific (for instance, this happens whether you're with a partner or alone or watching porn or whatever), it could be a tip-off to a physiological problem. Diabetes, high cholesterol, high blood pressure, and cardiovascular issues can all present with erectile problems, says Paduch. That's because basically anything affecting your nerves or blood flow can impact your boners.
The general medical history is important in identifying specific risk factors that may account for or contribute to the patient's erectile dysfunction. These include vascular risk factors such as hypertension, diabetes, smoking, coronary artery disease, peripheral vascular disorders, pelvic trauma or surgery, and blood lipid abnormalities. Decreased sexual desire or history suggesting a hypogonadal state could indicate a primary endocrine disorder. Neurologic causes may include a history of diabetes mellitus or alcoholism with associated peripheral neuropathy. Neurologic disorders such as multiple sclerosis, spinal injury, or cerebrovascular accidents are often obvious or well defined prior to presentation. It is essential to obtain a detailed medication and illicit drug history since an estimated 25 percent of cases of erectile dysfunction may be attributable to medications for other conditions. Past medical history can reveal important causes of erectile dysfunction, including radical pelvic surgery, radiation therapy, Peyronie's disease, penile or pelvic trauma, prostatitis, priapism, or voiding dysfunction. Information regarding prior evaluation or treatment for "impotence" should be obtained. A detailed sexual history, including current sexual techniques, is important in the general history obtained. It is also important to determine if there have been previous psychiatric illnesses such as depression or neuroses.
Another potential new treatment consists of penile low-intensity shock wave lithotripsy. This consists of 1500 shocks twice a week for 3–6 weeks. The purpose is to stimulate neovascularisation to the corporal bodies with improvement in penile blood flow and endothelial function. The use of low-intensity shock wave lithotripsy may convert PDE5 inhibitor non-responders to responders.47
Performance anxiety can be another cause of impotence. If a person wasn’t able to achieve an erection in the past, he may fear he won’t be able to achieve an erection in the future. A person may also find he can’t achieve an erection with a certain partner. Someone with ED related to performance anxiety may be able to have full erections when masturbating or when sleeping, yet he isn’t able to maintain an erection during intercourse.
If PDE5 drugs don't work or cannot be used because of potential side effects, your doctor can recommend other therapies. The drug alprostadil (Caverject, Edex, Muse) allows blood to flow more freely in the penis, leading to an erection. The drug can be injected with a tiny needle into your penis. Or, a small pellet (suppository) can be inserted into the opening of the penis. Suppositories and injections are effective in the majority of men.
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. 
For many men, stopping smoking is an erectile dysfunction remedy, particularly when ED is the result of vascular disease, which occurs when blood supply to the penis becomes restricted because of blockage or narrowing of the arteries. Smoking and even smokeless tobacco can also cause the narrowing of important blood vessels and have the same negative impact.
Erectile dysfunction (ED) is commonly called impotence. It’s a condition in which a man can’t achieve or maintain an erection during sexual performance. Symptoms may also include reduced sexual desire or libido. Your doctor is likely to diagnose you with ED if the condition lasts for more than a few weeks or months. ED affects as many as 30 million men in the United States.