Obesity and metabolic syndrome can cause changes in blood pressure, body composition, and cholesterol which may lead to ED. Other conditions that may contribute to erectile dysfunction include Parkinson’s, multiple sclerosis, Peyronie’s disease, sleep disorders, alcoholism, and drug abuse. Taking certain medications can also increase your risk for ED.
Injections: Injections are a reliable way to restore testosterone levels, but this therapy requires periodic injections (usually every two weeks) to sustain an effective level. It also causes high hormone levels right after the injection and low hormone levels just before the next shot. This is thought to be slightly more risky than other methods that maintain a moderate hormone level throughout the treatment period.

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.

The PDE5 inhibitors sildenafil (Viagra), vardenafil (Levitra) and tadalafil (Cialis) are prescription drugs which are taken orally.[22]:20–21 Additionally, a cream combining alprostadil with the permeation enhancer DDAIP has been approved in Canada as a first line treatment for erectile dysfunction.[25] Penile injections, on the other hand, can involve one of the following medications: papaverine, phentolamine, and prostaglandin E1, also known as alprostadil.[22]:25
NO is produced by the enzyme NO synthase (NOS). [13] NOS plays many roles, ranging from homeostasis to immune system regulation. To date, 3 subtypes have been identified: nNOS, iNOS, and eNOS, which are produced by the genes NOS1, NOS2, and NOS3, respectively. This nomenclature is derived from the sources of the original isolates: neuronal tissue (nNOS), immunoactivated macrophage cell lines (iNOS), and vascular endothelium (eNOS). The subtypes are not, however, limited to the tissues from which they were first isolated.
Impotence is a common problem among men and is characterized by the consistent inability to sustain an erection sufficient for sexual intercourse or the inability to achieve ejaculation, or both. Erectile dysfunction can vary. It can involve a total inability to achieve an erection or ejaculation, an inconsistent ability to do so, or a tendency to sustain only very brief erections.
A CVA can occur anywhere through the brain, midbrain, brainstem and spinal cord leading to varying degrees of SD depending on location. A decline in libido, erection and ejaculation are frequent in men who have had a CVA, with a reported prevalence of ED that varies from 17% to 48% (28,29). Right hemispheric infarcts seem to affect erections more so than left-sided ones. The exact effects of CVA on sexual function are complex and multifactorial, as disability, psychological and emotional status can affect sexual function aside from the location of the CVA.

"Medications that create blood flow to the penis can't help when an erection is blocked by the fear or anxiety of the fight-or-flight response,” says Feloney. “This type of erectile dysfunction probably has a lot to do with evolution — men didn't need an erection when a dinosaur was chasing them." The best way to treat erectile dysfunction caused by performance anxiety, depression, a poor relationship, or stress may be with a combination of ED drug treatment and sex therapy, individual therapy, or couples therapy from sexual health professionals.

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. 
…have traditionally been classified as impotence (inability of a man to achieve or maintain penile erection) and frigidity (inability of a woman to achieve arousal or orgasm during sexual intercourse). Because these terms—impotence and frigidity—have developed pejorative and misleading connotations, they are no longer used as scientific classifications, having been…
When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.

Diabetes is a well-recognized risk factor for ED. A systematic review and meta-analysis found that the prevalence of ED was 37.5% in type 1 diabetes, 66.3% in type 2 diabetes, and 52.5% in diabetes overall—a rate approximately 3.5 times higher than that in controls. [39]  The etiology of ED in diabetic men probably involves both vascular and neurogenic mechanisms. Evidence indicates that establishing good glycemic control can minimize this risk.
Oral ED medication is considered highly effective and studies show it works on the majority of men. But no medication works for everyone and ED medication is no exception. Everyone’s reaction to a medication is unique and anything potent enough to help is strong enough to have side effects. If the medication isn’t working, it is important to tell your doctor. Sometimes it is a matter of needing a higher dose. Also, it has been shown that it takes 6 to 8 tries using the medication to experience the best result.
Some self-administered measures may be useful in the primary care setting to screen for and evaluate the degree of ED.12 The most commonly used instrument is the International Index of Erectile Function, a 15-item questionnaire that has been validated in many populations and is considered the gold standard to evaluate patients for ED.13 The Sexual Health Inventory for Men is a short-form, 5-item questionnaire developed to monitor treatment progress.12 It is important to recognize that short-form questionnaire does not evaluate specific areas of the sexual cycle, such as sexual desire, ejaculation, and orgasm; however, it may be useful in discussing ED with patients and evaluating treatment results over time.
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
The Prostate Cancer Prevention Trial was a landmark study by Thompson et al that prospectively assessed the time to developing CVD after the diagnosis of ED. There were 4247 men with no ED at study entry; 2420 developed incident ED (defined as the first report of ED of any grade) over 5 years. Those men that developed ED had a 1.45-fold higher probability of experiencing a CV event compared with men who did not develop ED.27
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits. [22] Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
MSA is a neurodegenerative disease of undetermined etiology, where ED is an early prominent sign occurring in 40% of men at the time of diagnosis (46,47). ED occurs in the majority of patients and the exact cause of it is unknown (48). Like PD, MSA likely affects the dopaminergic pathways within the brain essential for arousal (49). Orthostatic hypotension (OH) as a causal factor has been refuted by evidence that sildenafil can overcome reduced filling pressures, and the ED usually precedes the development of OH (46,49,50). Similar to other neurologic disorders that lead to ED, other disease related factors such as psychosocial stress, the burden of chronic illness, changed appearance, fatigue, decreased fine motor movement of fingers, immobility and diminished self-esteem due to loss of independence may contribute as well (51).
While pills for ED are convenient, some men sustain stronger erections by injecting medication directly into the penis. Drugs approved for this purpose work by widening the blood vessels, causing the penis to become engorged with blood. Another option is inserting a medicated pellet into the urethra. The pellet can trigger an erection within 10 minutes.
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.
×