The causes of erectile dysfunction include aging, high blood pressure, diabetes mellitus, cigarette smoking, atherosclerosis (hardening of the arteries), depression, nerve or spinal cord damage, medication side effects, alcoholism or other substance (drug) abuse, pelvic surgery including radical prostatectomy, pelvic radiation, penile/perineal/pelvic trauma such as pelvic fracture, Peyronie's disease (a disorder that causes curvature of the penis and sometimes painful erections), and low testosterone levels.
Because of the difficulty in defining the clinical entity of erectile dysfunction, there have been a variety of entry criteria for patients in therapeutic trials. Similarly, the ability to assess efficacy of therapeutic interventions is impaired by the lack of clear and quantifiable criteria of erectile dysfunction. General considerations for treatment follow:
Currently, placement of a penile prosthesis is the most common surgical procedure performed for erectile dysfunction. Penile prosthesis placement is typically reserved for men who have tried and failed (either from efficacy or tolerability) or have contraindications to other forms of therapy including PDE5 inhibitors, intraurethral alprostadil, and injection therapy.
Jump up ^ Reepmeyer JC, Woodruff JT (2007). "Use of liquid chromatography-mass spectrometry and a chemical cleavage reaction for the structure elucidation of a new sildenafil analogue detected as an adulterant in an herbal dietary supplement". Journal of Pharmaceutical and Biomedical Analysis. 44 (4): 887–93. doi:10.1016/j.jpba.2007.04.011. PMID 17532168.
Conditions that may be associated with ED include diabetes, [25, 26, 27] hypertension,  , and CAD, as well as neurologic disorders, endocrinopathies, benign prostatic hyperplasia,  , sleep apnea  , COPD,  and depression (see Table 1 below). [32, 33, 34, 35] In fact, almost any disease may affect erectile function by altering the nervous, vascular, or hormonal systems. Various diseases may produce changes in the smooth muscle tissue of the corpora cavernosa or influence the patient’s psychological mood and behavior.
Vijay Bhat, MD is a board certified internal medicine physician who is passionate about providing quality medical care that’s affordable for patients. He believes that integrating technology and medicine can make healthcare efficient and more accessible. Throughout his training Dr. Bhat was involved with global health initiatives, providing care to underprivileged communities locally and overseas. He’s also been a strong proponent of quality improvement in the medical field. Dr. Bhat graduated with a BS from the University of California Berkeley, and received his medical degree from Stony Brook University in New York. He completed his residency in Internal Medicine at Rutgers Robert Wood Johnson.
Diabetes is an example of an endocrine disease that can cause a person to experience impotence. Diabetes affects the body’s ability to utilize the hormone insulin. One of the side effects associated with chronic diabetes is nerve damage. This affects penis sensations. Other complications associated with diabetes are impaired blood flow and hormone levels. Both of these factors can contribute to impotence.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
PDE 5 inhibitors are broken down primarily by enzyme, cytochrome P450enzyme CYP3A4. Medications that decrease or increase the activity of CYP3A4 may affect levels and effectiveness of PDE 5 inhibitors. Such drugs include medications for the treatment of HIV (protease inhibitors) and the antifungal medications ketoconazole and itraconazole. Thus caution is recommended.
A good indicator that "everything is in working order" and that it is probably a psychological cause is if a “morning erection” is still experienced. Feelings like fear, anger, distress and anxiety cause part of the nervous system to come into play which directly blocks the action of another part of the system involved in creating an erection. This is a natural reaction – our ancestors would find it more difficult to run from a predator with an erection in the way!
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
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.
Erectile dysfunction can have so many long-lasting effects that the inability to achieve an erection is almost the least of them. Men who suffer from erectile dysfunction often suffer from self-esteem concerns, and these can then translate into issues regarding sexual relationships, friendships, and even work-related relationships. As things begin to spiral out of control, men dealing with erectile dysfunction may go on to suffer from depression, anxiety, and other psychological problems that further inhibit relationship and sexual intimacy. So what is it that’s causing this mess?
Erection dissatisfaction can actually enhance lovemaking. The dark cloud of erection changes has a silver lining. Young couples often have problems because young men become aroused faster than young women. Young men are often all finished before young women have even started to get aroused. Post-50 erection changes slow men’s arousal process so their erotic pace more closely matches women’s. A slower pace allows plenty time for kissing, cuddling, and whole-body massage, all essential to most women’s enjoyment of sex. Seen in this light, for many older couples, erection dissatisfaction can be a gift.
The time the dose should be taken and how long the effects last depend on the medication used. The most common side effect of these medications is a headache. However, there is a potential for certain dangerous drug interactions. Anyone prescribed this medication must let his doctor know about any medications he's on, and especially if he's taking nitrates (e.g., nitroglycerin spray, nitroglycerin pills, or nitroglycerin patch) for heart problems.
Some men should not take PDE5 inhibitors. They can cause hypotension (abnormally low blood pressure that can lead to fainting and even shock) when given to patients who are taking nitrates (medications taken for heart disease). Therefore, patients taking nitrates daily should not take any of the PDE5 inhibitors. Nitrates relieve angina (chest pain due to insufficient blood supply to the heart muscle because of narrowing of the coronary arteries); these include nitroglycerine tablets, patches, ointments, sprays, and pastes, as well as isosorbide dinitrate and isosorbide mononitrate. Other nitrates such as amyl nitrate and butyl nitrate also are in some recreational drugs called "poppers."
Besides PDE5 inhibitors and among second-line therapies are VCDs which are clear plastic chambers placed over the penis, tightened against the lower abdomen with a mechanism to create a vacuum inside the chamber. This directs blood into the penis. If an adequate erection occurs inside the chamber, the patient slips a small constriction band off the end of the VCD and onto the base of the penis. An erection beyond 30 min is not recommended. These devices can be a bit cumbersome, but are very safe.40
Although erectile dysfunction increases progressively with age, it is not an inevitable consequence of aging. Knowledge of the risk factors can guide prevention strategies. Specific antihypertensive, antidepressant, and antipsychotic drugs can be chosen to lessen the risk of erectile failure. Published lists of prescription drugs that may impair erectile functioning often are based on reports implicating a drug without systematic study. Such studies are needed to confirm the validity of these suggested associations. In the individual patient, the physician can modify the regimen in an effort to resolve the erectile problem.
Vascular damage may result from radiation therapy to the pelvis and prostate in the treatment of prostate cancer.  Both the blood vessels and the nerves to the penis may be affected. Radiation damage to the crura of the penis, which are highly susceptible to radiation damage, can induce ED. Data indicate that 50% of men undergoing radiation therapy lose erectile function within 5 years after completing therapy; fortunately, some respond to one of the PDE5 inhibitors.
ED means no erections from masturbation. According to the American Urological Association, ED is “the inability to achieve or maintain an erection sufficient for satisfactory sexual performance.” Huh? That’s absurdly vague. If you define “an erection” as what you see in porn, and “satisfactory sexual performance” as porn sex—instant, hard-as-rock erections that last forever with climaxes always on cue—then just about every guy has ED. What is ED, really? For practical purposes, it means that a man who’s sober (no alcohol or other erection-impairing drugs) cannot raise even a semi-firm erection after extended masturbation.
Sexual stimulation causes the release of neurotransmitters from cavernosal nerve endings and relaxation factors from endothelial cells lining the sinusoids. NOS produces NO from L-arginine, and this, in turn, produces other muscle-relaxing chemicals, such as cGMP and cyclic adenosine monophosphate (cAMP), which work via calcium channel and protein kinase mechanisms (see the image below). This results in the relaxation of smooth muscle in the arteries and arterioles that supply the erectile tissue, producing a dramatic increase in penile blood flow.
Metabolism (breakdown) of vardenafil can be slowed by aging, liver disease, and concurrent use of certain medications (such as erythromycin [an antibiotic], ketoconazole [Nizoral, a medication for fungal/yeast infections], and protease inhibitors [medications used to treat AIDS]). Slowed breakdown allows vardenafil to accumulate in the body and potentially increase the risk for side effects. Therefore, in men over 65 years of age with liver disease, or who are also taking medication(s) that can slow the breakdown of vardenafil, the doctor will initiate vardenafil at low doses to avoid its accumulation. For example,
Willful and capricious – erections are funny things. When you're a young man, they seem to pop up at the most inappropriate moments (and the only thing between you and embarrassment is a carefully placed notebook). As you get older, however, they go the other way, and fail to appear on demand no matter how much you try. The sad thing is, my patients often equate this with a loss of masculinity.
Erectile dysfunction (ED), also known as impotence, is the inability to achieve or sustain a hard enough erection for satisfactory completion of sexual activity. Erectile dysfunction is different from other health conditions that interfere with male sexual function, such as lack of sexual desire (decreased libido) and problems with ejaculation release of the fluid from the penis (ejaculatory dysfunction) and orgasm/climax (orgasmic dysfunction), and penile curvature (Peyronie's disease), although these problems may also be present. ED affects about 50% of men age 40 and over. This article focuses on the evaluation and treatment of erectile dysfunction.
#3 You’re not having enough sex. The more sex you’re having, the less likely you are to suffer from erectile issues. The American Journal of Medicine reports that men who had sex once *or more* a week were less likely to have issues getting and maintaining an erection. So, not having sex is actually one of the reasons you can’t get hard. [Read: 13 ways to have better sex and change the way you make love]
ED usually has something physical behind it, particularly in older men. But psychological factors can be a factor in many cases of ED. Experts say stress, depression, poor self-esteem, and performance anxiety can short-circuit the process that leads to an erection. These factors can also make the problem worse in men whose ED stems from something physical.