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. 
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.
A physical cause can be identified in about 80% of cases. These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases. In psychological impotence, there is a strong response to placebo treatment.
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. 
Erectile dysfunction or disorder (ED) is the inability to develop and maintain an erection for satisfactory sexual intercourse or activity. Erectile dysfunction or erectile disorder are the preferred terms as opposed to impotence. There are no uniform criteria defining how consistent the problem has to be and for what duration it must be present to considered ED. The Diagnostic and Statistical Manual of Mental Disorder-5 specifies a duration of at least 6 months in its definition of ED.1
inability of the male to achieve or maintain an erection of sufficient rigidity to perform sexual intercourse successfully. An impotent man may produce sufficient numbers of normal spermatozoa; the condition is related to infertility only insofar as it prevents coitus with and impregnation of the female partner. Called also erectile dysfunction. adj., adj im´potent.
Erectile dysfunction or ED (It used to be called impotence) is the inability to achieve or sustain an erection suitable for sexual intercourse. Problems with erections may stem from medications, chronic illnesses, poor blood flow to the penis, drinking too much alcohol, or being too tired. Erectile dysfunction can occur at any age, but it is more common in men older than 75.
This is similar to magnetic resonance imaging. Magnetic resonance angiography uses magnetic fields and radio waves to provide detailed images of the blood vessels. Doctors may inject a "contrast agent" into the person's bloodstream that causes vascular tissues to stand out against other tissues. The contrast agent provides for enhanced information regarding blood supply and vascular anomalies.
Many reasonable nonsurgical erectile dysfunction (impotence) treatment options exist, including external vacuum devices, medications (oral and topical), hormonal therapy, penile injection therapy, and intraurethral pellet therapy. Sex counseling to further improve one's sexual health and sex life is another option and is discussed in Living With Erectile Dysfunction.
Inflatable prostheses are complex mechanical devices that imitate the natural process of erection. Parts are inserted surgically into the penis and scrotum, and activated by squeezing. When erection is no longer desired, a valve on the pump is pressed, and the penis becomes flaccid. Self-contained single-unit prostheses are similar to the inflatable types, but more compact. The entire device is implanted into the penis. When erection is desired, the unit is activated by either squeezing or bending, depending on which of the two types of self-contained prostheses is used.
Finally, gene therapy and stem cell research has widened the frontier of ED treatment proposed as possibility to even reverse ED. Specifically, gene therapy pertains to repairing the cause of ED by restoring defective gene function and/or altering the expression of the mutant gene (32). Most of the available data on gene therapy are in the animal model. However, a phase I clinical trial in men with ED undergoing intracavernous injection with a DNA plasmid carrying the alpha-subunit of the corporal smooth muscle Maxi-K channel showed promise in increased erectile function based on IIEF assessment sustained throughout the 3-month study period (122).
5. Medline Plus. US National Library of Medicine. NIH National Institutes of Health. Drugs that may cause impotence (updated 21 Jan 2015). http://www.nlm.nih.gov/medlineplus/ency/article/004024.htm (accessed Nov 2016). myDr myDr provides comprehensive Australian health and medical information, images and tools covering symptoms, diseases, tests, medicines and treatments, and nutrition and fitness.Related ArticlesImpotence treatmentsIf you have impotence (erectile dysfunction), the treatment your doctor recommends will depend on thErectile dysfunction: visiting your doctorFind out what questions a doctor may ask when discussing erectile dysfunction (ED, or impotenceGum disease linked to erectile dysfunctionAdvanced gum disease (periodontitis) has been linked to an increased risk of erectile dysfunction, wPeyronie's diseasePeyronie’s disease is condition where a band of scar tissue forms in the penis, causing aAdvertisement
A number of herbs have been promoted for treating impotence. The most widely touted herbs for this purpose are Coryanthe yohimbe (available by prescription as yohimbine, with the trade name Yocon) and gingko (Gingko biloba), although neither has been conclusively shown to help the condition in controlled studies. In addition, gingko carries some risk of abnormal blood clotting and should be avoided by men taking blood thinners such as coumadin. Other herbs promoted for treating impotence include true unicorn root (Aletrius farinosa), saw palmetto (Serenoa repens), ginseng (Panax ginseng), and Siberian ginseng (Eleuthrococcus senticosus). Strychnos Nux vomica has been recommended, especially when impotence is caused by excessive alcohol, cigarettes, or dietary indiscretions, but it can be very toxic if taken improperly, so it should be used only under the strict supervision of a physician trained in its use.
The FDA recommends that men follow general precautions before taking a medication for ED. Men who are taking medications that contain nitrates, such as nitroglycerin, should NOT use these medications. Taking nitrates with one of these medications can lower blood pressure too much. In addition, men who take tadalafil or vardenfil should use alpha blockers with care and only as instructed by their physician, as they could result in hypotension (abnormally low blood pressure). Experts recommend that men have a complete medical history and physical examination to determine the cause of ED. Men should tell their doctor about all the medications they are taking, including over-the-counter medications.
The development of an erection is a complex event involving integration of psychologic, neurologic, endocrine, vascular, and local anatomic systems. Positron emission tomography scanning studies have suggested that sexual arousal is activated in higher cortical centers that then stimulate the medial preoptic and paraventricular nuclei of the hypothalamus.5 These signals ultimately descend through a complex neural network involving the parasympathetic nervous system and eventually activate parasympathetic nerves in the sacral area (S2 to S4).
In some cases, ED can be a warning sign of more serious disease. One study suggests ED is a strong predictor of heart attack, stroke, and death from cardiovascular disease. The researchers say all men diagnosed with ED should be evaluated for cardiovascular disease. This does not mean every man with ED will develop heart disease, or that every man with heart disease has ED, but patients should be aware of the link.