The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  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.
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.
The lab testing obtained for the evaluation of erectile dysfunction may vary with the information obtained on the health history, physical examination, and recent lab testing. A testosterone level is not necessary in all men; however, a physician will order labs to determine a patient's testosterone level if other signs and symptoms of hypogonadism (low testosterone) such as decreased libido, loss of body hair, muscle loss, breast enlargement, osteoporosis, infertility, and decreased penile/testicular size are present.
2 inability of the adult male to achieve or sustain a penile erection or, less commonly, to ejaculate after achieving an erection. Several forms are recognized. Functional impotence has a psychological basis. Organic impotence includes vasculogenic, neurogenic, endocrinic, and anatomical factors. Anatomical impotence results from physically defective genitalia. Atonic impotence involves disturbed neuromuscular function. Poor health, old or advancing age, drugs, smoking, trauma, and fatigue can induce impotence. Also called erectile dysfunction, impotency. impotent, adj.
It is important that physicians and other health care providers treating patients for chronic conditions periodically inquire into the sexual functioning of their patients and be prepared to offer counsel for those who experience erectile difficulties. Lack of sexual knowledge and anxiety about sexual performance are common contributing factors to erectile dysfunction. Education and reassurance may be helpful in preventing the cascade into serious erectile failure in individuals who experience minor erectile difficulty due to medications or common changes in erectile functioning associated with chronic illnesses or with aging.
Causes of impotence are many and include heart disease, high cholesterol, high blood pressure, obesity, metabolic syndrome, Parkinson's disease, Peyronie's disease, substance abuse, sleep disorders, BPH treatments, relationship problems, blood vessel diseases (such as peripheral vascular disease and others), systemic disease, hormonal imbalance, and medications (such as blood pressure and heart medications).
Concerns that use of pornography can cause erectile dysfunction have not been substantiated in epidemiological studies according to a 2015 literature review. However, another review and case studies article maintains that use of pornography does indeed cause erectile dysfunction, and critiques the previously described literature review.
#6 It’s performance anxiety. Many men suffer from performance anxiety, and that’s another reason you can’t get hard. Simply put, you’re too nervous to get your dick up. And that’s okay, it happens! This is likely to happen if you haven’t had sex in a while or if you’re starting up with a new partner. Sex is supposed to be fun, but worrying over your prowess between the sheets can make sex the exact opposite of what’s it’s supposed to be. [Read: 13 ways to overcome sexual anxiety and perform]
The FDA does not recommend alternative therapies to treat sexual dysfunction. Many products are advertised as "herbal viagra" or "natural" sexual enhancement products, but no clinical trials or scientific studies support the effectiveness of these products for the treatment of erectile dysfunction, and synthetic chemical compounds similar to sildenafil have been found as adulterants in many of these products. The United States Food and Drug Administration has warned consumers that any sexual enhancement product that claims to work as well as prescription products is likely to contain such a contaminant.
Over the past century, Western culture has become more focused on working, working out, working on this and that, and eating right that so many Americans are stressed and … quite simply … overworked. Stress is a leading cause of erectile dysfunction as it takes away focus. When a man is intent on being intimate with his wife, thoughts of deadlines, paychecks, and bills may creep into his mind. This can lead to difficulties achieving or maintaining an erection, and unfortunately, this only leads to more stress, anxiety, and depression within a marriage.
It is common for a healthy older man to still want sex and be able to have sex within appropriate limitations. Understanding what is normal in older age is important to avoid frustration and concern. Older men and their partners often value being able to continue sexual activity and there is no age where the man is ‘too old’ to think about getting help with his erection or other sexual problems.
Despite the accumulation of a substantial body of scientific information about erectile dysfunction, large segments of the public -- as well as the health professions -- remain relatively uninformed, or -- even worse -- misinformed, about much of what is known. This lack of information, added to a pervasive reluctance of physicians to deal candidly with sexual matters, has resulted in patients being denied the benefits of treatment for their sexual concerns. Although they might wish doctors would ask them questions about their sexual lives, patients, for their part, are too often inhibited from initiating such discussions themselves. Improving both public and professional knowledge about erectile dysfunction will serve to remove those barriers and will foster more open communication and more effective treatment of this condition.
Picture this: you have the girl of your dreams laid out before you. You’re kissing and things are getting hot and heavy. There’s just one problem: you can’t get hard. Your thoughts quickly turn from “this is amazing” to “this is a disaster,” and before you know it, the story of your floppy dick is making its way down your lover’s social circle. That is if she’s an insensitive gossip. Either way, not being able to get a boner when the time is right is beyond embarrassing.
This content is provided as a service of the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), part of the National Institutes of Health. The NIDDK translates and disseminates research findings through its clearinghouses and education programs to increase knowledge and understanding about health and disease among patients, health professionals, and the public. Content produced by the NIDDK is carefully reviewed by NIDDK scientists and other experts.