Although not proven, it is likely that erectile dysfunction can be prevented by good general health, paying particular attention to body weight, exercise, and cigarette smoking. For example, heart disease and diabetes are problems that can cause erectile dysfunction, and both are preventable through lifestyle changes such as sensible eating and regular exercise. Furthermore, early diagnosis and treatment of associated conditions like diabetes, hypertension and high cholesterol may prevent or delay erectile dysfunction, or stop the erectile dysfunction from getting more serious.
Many factors can contribute to sexual dysfunction in older men, including physical and psychological conditions, comorbidities and the medications used to treat them. Aspects of an ageing man’s lifestyle and behaviour and androgen deficiency, most often decreasing testosterone levels, may affect sexual function as well. A study of men between the ages of 30 and 79 years showed that 24% had testosterone levels below 300 ng/dL and 5.6% had symptomatic androgen deficiency.2
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.
The rumors are true. Having too much to drink can interfere with a man’s ability to have an erection. According to Everyday Health, alcohol is a depressant. This means that, along with dampening your ability to think, speak, and move efficiently, it can also dampen mood, decrease sexual desire, and make it difficult for a man to achieve erection or reach an orgasm. This is because alcohol decreases blood flow to the penis. That not only may reduce a man’s ability to have an erection, but even if he is lucky enough to get it hard, alcohol can reduce the intensity of his orgasm.
By contrast, psychogenic impotence typically is abrupt in onset, often in relation to psychological trauma, and may wax and wane. Patients with psychogenic impotence may have total erectile failure with one partner but not another, or be impotent during sexual intercourse but not during self-stimulation. Normally occurring spontaneous erections in the morning suggest psychogenic rather than organic causes for impotence.
A vacuum erection device helps draw blood into the penis by applying negative pressure. This type of device is sometimes referred to as penis pump and may be used just prior to sexual intercourse. Several types of FDA approved vacuum therapy devices are available with a doctor's prescription. When pharmacological methods fail, a purpose-designed external vacuum pump can be used to attain erection, with a separate compression ring fitted to the penis to maintain it. These pumps should be distinguished from other penis pumps (supplied without compression rings) which, rather than being used for temporary treatment of impotence, are claimed to increase penis length if used frequently, or vibrate as an aid to masturbation. More drastically, inflatable or rigid penile implants may be fitted surgically.
In their extensive review, Bassil and coworkers summarise the benefits and risks, with benefits such as improvement of sexual function, bone density, muscle strength, cognition and overall improvement in quality of life. Among the risks that have been suggested include erythrocytosis, liver toxicity, worsening of sleep apnoea and cardiac function, possibly increasing symptoms of benign prostatic hyperplasia (BPH). They also note that although a possibility of stimulation of prostate cancer has been hypothesised, no scientific or clinical evidence exists to this possible risk.38
The association of CVD and ED was noted in 1997 as one analysed the results of the MMAS. In this landmark study, 1709 men aged 40–70 years were enrolled between 1987 and 1989. A follow-up some 10 years later revealed a striking relationship between ED and CVD. In this study, it became clear that the risk factors for ED were very similar to those of CVD, such as diabetes mellitus, smoking and dyslipidaemia.18
The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.
That means that as an adult, you need to activate the opposing parasympathetic system through sexually exciting visuals, thoughts and touches to get an erection going. But this nerve transmission is disrupted if you're stressed, anxious or distracted. The latter because you simply don't develop enough total stimulation of your genitals to get an erection, and the former because stress and anxiety all increase adrenaline – a key transmitter in the inhibiting sympathetic nervous system. They quite literally sabotage your erection.
Prostaglandins (alprostadil): Alprostadil can be injected into the penis or inserted as a pellet through the urethra. It causes an erection without sexual stimulation that usually lasts about 60 minutes. The danger with this method is that too high a dose can cause priapism, an erection that won't go away. This condition requires immediate medical attention as it can cause serious bruising, bleeding, pain and permanent penile damage. Once the doctor is sure of the right dose, the man can self-inject at home.
How’s this for a win-win: The more sex you have, the less likely you are to suffer from erectile dysfunction, according to a 2008 study published in The American Journal of Medicine. Men aged 55-75 who reported having sex less than once per week had twice the incidence of erectile dysfunction (there were 79 cases of ED per 1,000) as men who have sex once a week (32 cases of ED per 1,000). But if you really want to up your odds, shoot for three times per week (only 16 cases of ED per 1,000). Can you really argue with science, or a perscription to have more sex?
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.
So not only are erectile problems common, they're nothing for you or your special friend to be freaked out about. Check out the nine most common reasons that dudes sometimes can't get it up, and get ready to become the soothing voice of reason the next time the guy you're with has a hard time pitching his tent in your happy valley. Everything (and every penis) is gonna be fine!
Erection is a vascular event. The penis becomes rigid when blood flow to the corpora cavernosa increases sixfold and venous outflow is physiologically impeded. Penile perfusion is governed by three organ systems—the neurologic, circulatory, and endocrinologic systems—each necessary for potency. The neurologic system accounts for vasodilation and venoconstriction of the corporal blood vessels so that blood is shunted to the erectile tissues; the circulatory system provides adequate blood flow to the hypogastric-cavernous bed, a distal branch off the internal iliac vessels; and the endocrine system, mediated by testosterone, plays a permissive role through mechanisms that have yet to be elucidated.
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.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
Several pathways have been described to explain how information travels from the hypothalamus to the sacral autonomic centers. One pathway travels from the dorsomedial hypothalamus through the dorsal and central gray matter, descends to the locus ceruleus, and projects ventrally in the mesencephalic reticular formation. Input from the brain is conveyed through the dorsal spinal columns to the thoracolumbar and sacral autonomic nuclei.
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.