Erectile dysfunction is known to be associated with general health status, thus, lifestyle modification improves erectile function and decreases the rate of decline of function with aging. One year after discontinuation of smoking, patients were found to have a 25% improvement in erectile quality.16 In addition, multivariate analysis found obesity is associated with erectile dysfunction with an approximately 50% increase in ED in obese men as compared with normal weight men.17
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.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
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."
The medications are extremely effective, which is very good. And the medications are, for the most part, extremely well-tolerated. But there are, like with any medications, a potential downside. The one absolute downside to the use of any of these erection what we call PDE5 medications is if a patient is using a nitroglycerin medication. And nitroglycerins are used for heart disease and for angina, for the most part, although there are some recreational uses of nitrites. And that’s important because your blood vessels will dilate and your blood pressure will drop. And that is an absolute contraindication.
The use of injection therapy requires being taught how to properly inject the medication, determination of the best dose, and monitoring for side effects. It is recommended that one inject on the side of the penis at the base and to alternate sides. Injection therapy should be used no more frequently than once every 24 hours. Individuals on blood thinners must be careful with use of injection therapy.
Surgical intervention for a number of conditions may remove anatomical structures necessary to erection, damage nerves, or impair blood supply. Erectile dysfunction is a common complication of treatments for prostate cancer, including prostatectomy and destruction of the prostate by external beam radiation, although the prostate gland itself is not necessary to achieve an erection. As far as inguinal hernia surgery is concerned, in most cases, and in the absence of postoperative complications, the operative repair can lead to a recovery of the sexual life of people with preoperative sexual dysfunction, while, in most cases, it does not affect people with a preoperative normal sexual life.
Much of the emphasis on erectile pathophysiology has been placed on penile smooth muscle function and cavernosal hemodynamics. The neuroanatomy and neurophysiology of erection can be characterized but its full extent is poorly understood. Neurologic disease does not always reproducibly affect erections in a uniform manner compared to other types of sexual dysfunction (SD). This offers many obstacles to understanding the role the nervous systems plays in SD and consequently obscures what treatment options readily optimize erections specific to the neurologic insult.
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).
It appears that testosterone has NOS-independent pathways as well. In one study, castrated rats were implanted with testosterone pellets and then divided into a group that received an NOS inhibitor (L-nitro-L-arginine methyl ester [L-NAME]) and a control group that received no enzyme.  The castrated rats that were given testosterone pellets and L-NAME still had partial erections, a result suggesting the presence of a pathway independent of NOS activity.
Nerves originating in the spinal cord and peripheral ganglia innervate the penis. There are autonomic (parasympathetic and sympathetic), and somatic separate and integrated pathways. The autonomic pathways neurons originate in the spinal cord and peripheral ganglia from the sympathetic and parasympathetic systems, respectively. They merge to form the cavernous nerves that travel alongside the prostate, enter the corpora cavernosa and corpus spongiosum to affect the neurovascular events required for tumescence and detumescence. The somatic nerves send sensory information from the penile skin, glans, and urethra via the dorsal penile nerve and pudendal nerve to the spinal cord. The somatic nerves also initiate contraction of the ischio- and bulbocavernosus muscles.
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
Erections are initiated and maintained via integration of afferent inputs in the supra sacral regions of the central nervous system. Regions of the brain cited to have key roles in the integration of signals include the medial amygdala, MPOA, periaqueductal gray matter, paraventricular nucleus (PVN), and ventral tegmentum among others (16). Studies in animal models, particularly in rats, have been paramount in identifying these key areas of signal integration and control. Electrostimulation of the MPOA, PVN and hippocampus lead to erection and lesions in these areas may prevent erection (17). Marson et al. injected labeled pseudorabies virus into rat corpora cavernosa and traced them to neurons in the spinal cord, brain stem and hypothalamus (18). Stimulation of the rat dorsal nerve led to increased firing in the MPOA not found elsewhere (19). Axonal tracing in animals have shows direct projections from the hypothalamus to the lumbosacral autonomic erection centers. Oxytocin and vasopressin have been identified as central neurotransmitters within the hypothalamic nuclei and may have a role in penile erection (17). These signaling studies identifying key areas of erectile response integration may explain how ED is associated with cerebrovascular accident (CVA), Parkinson’s, epilepsy and MS.
While erectile dysfunction can occur at any age, the risk of developing erectile dysfunction increases with age. According to the Massachusetts Male Aging Study, the prevalence of erectile dysfunction was 52% in men 40-70 years of age. The prevalence of complete erectile dysfunction increases from 5% at 40 years of age to 15% among men 70 years of age and older.
However, in contrast, a recent systematic review of published studies, the authors concluded that overall, the addition of testosterone to PDE-5 inhibitors might benefit patients with ED associated with testosterone levels of less than 300 ng/dL (10.4 nmol/L) who failed monotherapy.  A limitation of existing studies are their heterogeneous nature and methodological drawbacks.
Erectile dysfunction, also known as ED or impotence, is the inability to attain or maintain an erection of the penis adequate for the sexual satisfaction of both partners. It can be devastating to the self-esteem of a man and of his partner. As many as 30 million American men are afflicted on a continuing basis, and transient episodes affect nearly all adult males. But nearly all men who seek treatment find some measure of relief.
Talk with your doctor about going to a counselor if psychological or emotional issues are affecting your ED. A counselor can teach you how to lower your anxiety or stress related to sex. Your counselor may suggest that you bring your partner to counseling sessions to learn how to support you. As you work on relieving your anxiety or stress, a doctor can focus on treating the physical causes of ED.
If a trial of oral therapy and withdrawal of offending medications do not restore erectile function or if a patient has medical or financial contraindications to pharmacologic therapy, most primary care practitioners should consider referring the patient to a specialist for additional evaluation and discussion of alternative treatment options. However, some primary care practitioners may recommend vacuum constriction devices.
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. 
ED is often the result of atherosclerosis, and as a result, men with ED frequently have cardiovascular disease. Sexual activity is associated with increased physical exertion, which in some men may increase the risk of having a heart attack (myocardial infarction or MI). The major risk factors associated with cardiovascular disease are age, hypertension, diabetes mellitus, obesity, smoking, abnormal lipid/cholesterol levels in the blood, and lack of exercise. Individuals with three or more of these risk factors are at increased risk for a heart attack during sexual activity. The Princeton Consensus Panel developed guidelines for treating ED in men with cardiovascular disease. Thus, if you have ED and cardiovascular disease (for example, angina or prior heart attack), you should discuss whether or not treatment of ED and sexual activity are appropriate for you.
ED is a common occurrence after SCI, occurring in up to 80% of men, and results from disruption of the nerve pathways essential for erection (24,25). Different degrees of ED may occur depending on the spinal cord level of injury (LOI), extent of lesion and timing from injury. Reflexogenic erections can occur with lesions above L3 or L4 when the erectile spinal reflex arc remains intact. Psychogenic erections can occur with low lesions in the sacral and lumbar spinal cord but may not occur in complete lesions above T9 that can damage sympathetic outflow. Additionally, reflexogenic erections are not likely to occur in the spinal shock period that occurs after the initial cord trauma. Conversely, their occurrence may signal that the period of shock is over (26). Typically SCI affects younger men in their “sexual prime” and ED is associated with decreased quality of life (27).
Prevention of some of the causes that contribute to the development of erectile dysfunction can decrease the chances of developing the problem. For example, if a person decreases their chances of developing diabetes, heart disease, and hypertension, they will decrease their chances of developing erectile dysfunction. Other things like stopping smoking, eating a healthy diet (heart healthy with adequate vitamin intake), and exercising daily may reduce a person's risk.
ED may occur with or without other sexual dysfunction, including decreased libido (decreased interest in sexual activity), orgasmic dysfunction (troubles achieving an orgasm/climax), and ejaculatory dysfunction (problems with the fluid released during sex, including lack of ejaculation [anejaculation], small volume ejaculate, ejaculation that occurs too quickly [premature ejaculation], ejaculate that goes backward into the bladder [retrograde ejaculation] and pain with ejaculation).
Ejaculatory incompetence, erectile difficulty, erectile dysfunction, erectile failure, frigidity–female Medtalk The inability to achieve or maintain a penile erection adequate for the successful completion of intercourse, terminating in ejaculation; penile erection is mediated by nitric oxide Epidemiology Prevalence of minimal, moderate, and complete impotence in the Massachusetts Male Aging Study was 52%; age is the most important factor; complete impotence ↑ from 5%–age 40 to 15%–age 70; for an erection to achieve a successful outcome, it requires
It is normal for a man to have five to six erections during sleep, especially during rapid eye movement (REM). Their absence may indicate a problem with nerve function or blood supply in the penis. There are two methods for measuring changes in penile rigidity and circumference during nocturnal erection: snap gauge and strain gauge. A significant proportion of men who have no sexual dysfunction nonetheless do not have regular nocturnal erections.
The venous constriction device is a device designed to compress the veins that drain blood flow out of the penis to keep blood in the penis. These devices may help individuals who have a "venous leak." In these individuals, although blood flow is coming into the penis, it is draining out at the same time and this persistent drainage prevents a fully rigid erection. These devices may be used with other forms of medical therapy, such as medications, injection therapy, or the vacuum device.
Nerve or spinal cord damage: Damage to the spinal cord and nerves in the pelvis can cause erectile dysfunction. Nerve damage can be due to disease, trauma, or surgical procedures. Examples include injury to the spinal cord from automobile accidents, injury to the pelvic nerves from prostate surgery for cancer (prostatectomy), and some surgeries for colorectal cancer, radiation to the prostate, surgery for benign prostatic enlargement, multiple sclerosis (a neurological disease with the potential to cause widespread damage to nerves), and long-term diabetes mellitus.
ED can also occur among younger men. A 2013 study found that one in four men seeking their first treatment for ED were under the age of 40. The researchers found a stronger correlation between smoking and illicit drug use and ED in men under 40 than among older men. That suggests that lifestyle choices may be a main contributing factor for ED in younger men.
Melissa Conrad Stöppler, MD, is a U.S. board-certified Anatomic Pathologist with subspecialty training in the fields of Experimental and Molecular Pathology. Dr. Stöppler's educational background includes a BA with Highest Distinction from the University of Virginia and an MD from the University of North Carolina. She completed residency training in Anatomic Pathology at Georgetown University followed by subspecialty fellowship training in molecular diagnostics and experimental pathology.
Sildenafil has been previously suggested as a treatment option for ED in men with epilepsy (77,78). However, Matos et al. warned that PDE5i are potentially pro-convulsant and should be used with great caution in men with epilepsy (79). Animal studies in rat and mice overwhelmingly suggest PDE5i can reduce seizure threshold. In human trials, seizures were rare but reported. PDE5i exerted their proconvulsive effect by lower seizure threshold possibly by worsening sleep or obstructive sleep apnea, causing cardiovascular changes, or leading to EEG changes specifically with tadalafil use.
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.
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.
Many common medications for treating hypertension, depression, and high blood lipids (high cholesterol) can contribute to erectile dysfunction (see above). Treatment of hypertension is an example. There are many different types (classes) of medications for high blood pressure; these include beta-blockers, calcium channel blockers, diuretics (medications that increase urine volume), angiotensin converting enzyme inhibitors (ACE inhibitors), and angiotensin receptor blockers (ARBs). Patients may use these medications alone or in combination to control blood pressure. Some of these medications can cause troubles with erections. For example, Inderal (a beta-blocker) and hydrochlorothiazide (a diuretic) cause erectile dysfunction, while calcium channel blockers and ACE inhibitors do not seem to affect erectile function. On the other hand, other medications (such as angiotensin receptor blockers [ARB] including losartan [Cozaar] and valsartan [Diovan]) may actually help with erections. Therefore, if possible, you may benefit from changing your medications, but this requires approval by your prescribing health care provider.
Over a 2-year period, a third of the men randomized to a weight loss program demonstrated resolution of erectile dysfunction.10 A Mediterranean diet and nutritional counseling reported increased erectile quality.18 Little evidence supports that increased physical activity alone improves erectile quality; however, the strong association between physical activity and lower BMI is well described, and therefore recommended for men with erectile dysfunction and without a contraindication to physical activity.
Alprostadil should not be used in men with urethral stricture (scarring and narrowing of the tube that urine and the ejaculate pass through), balanitis (inflammation/infection of the glans [tip] of the penis, severe hypospadias (a condition where the opening of the urethra is not at the tip of the penis, rather on the underside of the penis), penile curvature (abnormal bend to the penis), and urethritis (inflammation/infection of the urethra).
The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
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.