Because adequate arterial supply is critical for erection, any disorder that impairs blood flow may be implicated in the etiology of erectile failure. Most of the medical disorders associated with erectile dysfunction appear to affect the arterial system. Some disorders may interfere with the corporal veno-occlusive mechanism and result in failure to trap blood within the penis, or produce leakage such that an erection cannot be maintained or is easily lost.
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.
For example, many men with diabetes mellitus may develop erectile dysfunction during their young and middle adult years. Physicians, diabetes educators, and patients and their families are sometimes unaware of this potential complication. Whatever the causal factors, discomfort of patients and health care providers in discussing sexual issues becomes a barrier to pursuing treatment.
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
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. 
Men with a rare heart condition known as long QT syndrome should not take vardenafil since this may lead to abnormal heart rhythms. The QT interval is the time it takes for the heart's muscle to recover after it has contracted. An electrocardiogram (EKG) measures the QT interval. Some people have longer than normal QT intervals, and they may develop potentially life-threatening abnormal heart rhythms, especially when given certain medications. Men with a family history of long QT syndrome should not take vardenafil, as it is possible to inherit long QT syndrome. Furthermore, vardenafil is not recommended for men who are taking medications that can affect the QT interval such as quinidine (Quinaglute, Quinidex), procainamide (Pronestyl, Procan-SR, Procanbid), amiodarone (Cordarone), and sotalol (Betapace).
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.
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.