Tests such as the bulbocavernosus reflex test are used to determine if there is sufficient nerve sensation in the penis. The physician squeezes the glans (head) of the penis, which immediately causes the anus to contract if nerve function is normal. A physician measures the latency between squeeze and contraction by observing the anal sphincter or by feeling it with a gloved finger inserted past the anus.
Peyronie's disease is a condition that is thought to occur due to minor trauma to the penis that results in injury to the tunica albuginea and scarring; Peyronie's may cause erectile dysfunction due to lack of compression of the veins by the scarred tunica. The penile curvature that develops due to this scarring may make penetration difficult or impossible.
A study published in May 2014 in The Journal of Sexual Medicine found that some men can reverse erectile dysfunction with healthy lifestyle changes, such as exercise, weight loss, a varied diet, and good sleep. The Australian researchers also showed that even if erectile dysfunction medication is required, it's likely to be more effective if you implement these healthy lifestyle changes.
High cholesterol and triglyceride levels increase the risk of cardiovascular disease. Getting your cholesterol and triglyceride levels in an optimal range will help protect your heart and blood vessels. Cholesterol management may include lifestyle interventions (diet and exercise) as well as medications to get your total cholesterol, LDL, HDL, and triglycerides in an optimal range.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
Talk with your doctor before trying supplements for ED. They can contain 10 or more ingredients and may complicate other health conditions. Asian ginseng and ginkgo biloba (seen here) are popular, but there isn't a lot of good research on their effectiveness. Some men find that taking a DHEA supplement improves their ability to have an erection. Unfortunately, the long-term safety of DHEA supplements is unknown. Most doctors do not recommend using it.
Certain feelings can interfere with normal sexual function, including feeling nervous about or self-conscious about sex, feeling stressed either at home or at work, or feeling troubled in your current sexual relationship. In these cases, treatment incorporating psychological counseling with you and your sexual partner may be successful. One episode of failure, regardless of cause, may propagate further psychological distress, leading to further erectile failure.
And surgery comes with its own serious risks, such as developing incontinence or impotence, while radiation can result in urinary problems. — Peter Loftus, WSJ, "Surgery Adds Three Years to Lives of Prostate-Cancer Patients, Study Finds," 12 Dec. 2018 Male-impotence pill Viagra began facing generic competition late last year, while the Lyrica pain treatment is expected to confront generics at the end of this year. — Jonathan D. Rockoff, WSJ, "Pfizer Narrows Guidance on Tougher Pricing, Generic Competition," 30 Oct. 2018 Arkham Horror Third Edition is a classic struggle of agency versus impotence, set in the uncanny world of H.P. Lovecraft’s Cthulhu mythos. — Charlie Theel, Ars Technica, "Arkham Horror Third Edition: The classic Lovecraft adventure returns," 24 Nov. 2018 There’s obviously a lot of anger and frustration here toward the US government at the moment—along with side effects like bottled rage and sometimes a creeping sense of ineptitude or impotence about our ability to do anything about it. — Corey Seymour, Vogue, "Pussy Riot's Nadya Tolokonnikova On Her New Guide To Activism, Raising The Next President Of Russia, And Her "Holy War" On Fairy Tales," 12 Oct. 2018 In exchange for political impotence, they would be mostly left alone and allowed to get rich. — Paul Mozur, New York Times, "Inside China’s Dystopian Dreams: A.I., Shame and Lots of Cameras," 8 July 2018 Their suspicion is compounded by rumors that the polio vaccine causes impotence, death and, ironically, paralysis. — Meher Ahmad, New York Times, "Pakistan Has Just One New Polio Case, but Isn’t Declaring Victory Yet," 20 May 2018 Fighting back, even as an exercise in impotence, did a lot for McCain. — Alex Horton, Washington Post, "John McCain rebelled at the Naval Academy — and as a POW — long before he was a Senate maverick," 3 May 2018 Feelings of desperation and impotence are being felt throughout Central America, where the lawlessness, endemic poverty and levels of gang violence akin to war zones that have driven so many families from their homes show little signs of abating. — Washington Post, "Violence keeps Central Americans coming to US despite Trump," 21 June 2018
Because the burning side effect is triggered by alprostadil, the formulations with the least alprostadil — tri-mix and certain versions of bi-mix — could work for men who experience burning with the single-drug formula. But some men might choose alprostadil alone because the multi-drug cocktails can cost more and must be dispensed by a compounding pharmacy — one that is authorized to mix medications on site — which could mean the added hassle of a long drive to pick up the drug.
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
As is true in so many medical conditions, lifestyle modifications, considered first-line therapy, can have a salutary effect in ED management, and men should be encouraged to make the necessary changes to the benefit of their sexual function and to their overall health as well. Despite the benefits of behaviour modification, men presenting with ED want the physician to help with measures that can have an immediate impact.
Experts often treat psychologically based impotence using techniques that decrease anxiety associated with intercourse. The patient's partner can help apply the techniques, which include gradual development of intimacy and stimulation. Such techniques also can help relieve anxiety during treatment of physical impotence. If these simple behavioral methods at home are ineffective, a doctor may refer an individual to a sex counselor.
Erections occur in response to tactile, olfactory, and visual stimuli. The ability to achieve and maintain a full erection depends not only on the penile portion of the process but also on the status of the peripheral nerves, the integrity of the vascular supply, and biochemical events within the corpora. The autonomic nervous system is involved in erection, orgasm, and tumescence. The parasympathetic nervous system is primarily involved in sustaining and maintaining an erection, which is derived from S2-S4 nerve roots.
Other form of sexual dysfunction, such as premature ejaculation and loss of libido (decreased sexual desire), are also very common. The NHSLS found that 28.5% of men 18-59 years of age reported premature ejaculation, and 15.8% lacked interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% indicated a lack of pleasure from sexual activity.
Usually there will not be a specific treatment that will lead to the improvement of erectile dysfunction. However, there are treatments that will allow erections to happen and can be used to allow sexual activity to take place. There are three main types of treatments: non-invasive treatments such as tablet medicines and external devices (e.g. vacuum device); penile injections; or for men who have not had success with other treatments, surgery may be an option.
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).
Psychotherapy, marital counseling, or sex therapy may be helpful in treating cases of impotence that have psychological or emotional causes. A range of other treatments exists for cases of impotence that arise from purely physiological causes. These treatments include vacuum devices, penile injections, and penile implants. These mechanical or physically invasive approaches have largely been superseded, however, by the drug sildenafil citrate (trade name Viagra), which is taken in pill form. This drug works by enhancing the effects of nitric oxide, a chemical that, upon sexual stimulation, is normally released to widen the blood vessels supplying the penis. The increased flow of blood through those vessels into certain tissues in the penis causes an erection. See also sexual dysfunction.
A variety of lifestyle choices can affect the ability to achieve and maintain an erection, so preventing ED is possible in some cases. Men are encouraged to manage chronic health problems with their doctors and to exercise regularly. They also should avoid smoking and excess alcohol and get help for anxiety or depression, according to the Mayo Clinic.
PDE5i medications are absolutely not to be taken by men with heart conditions who are taking nitrates such as nitroglycerine or isosorbide (Isordil, Ismo, Imdur). Those with serious heart disease, exertional angina (chest pain), and those taking multiple drugs for high blood pressure are advised to seek the advice of a heart specialist before beginning therapy with sildenafil.
Associated morbidity may include various other male sexual dysfunctions, such as premature (early) ejaculation and male hypoactive sexual desire disorder. The NHSLS found that 28.5% of men aged 18-59 years reported premature ejaculation, and 15.8% lacked sexual interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% had a lack of pleasure in sex.