Is your erectile dysfunction due to psychological (stress, relationship problems, etc.) or physical factors? Your doctor may ask if you note erections at night or in the early morning. Men have involuntary erections in the early morning and during REM sleep (a stage in the sleep cycle with rapid eye movements). Men with psychogenic erectile dysfunction (erectile dysfunction due to psychological factors such as stress and anxiety rather than physical factors) usually maintain these involuntary erections. Men with physical causes of erectile dysfunction (for example, atherosclerosis, smoking, and diabetes) usually do not have these involuntary erections. Men with psychogenic erectile dysfunction may relate the onset of problems to a "stressor," such as failed relationship. Your doctor may suggest a test to determine if you have erections during sleep, which may suggest that there may be a psychological cause of the erectile dysfunction.
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.
Psychosocial problems are important and may cause erectile dysfunction by themselves or together with other causes of erectile dysfunction, such as diabetes and heart disease. Relationships are complicated and many factors cause tensions, which can affect sexual relations. For some men, these problems can become ongoing and it can help to talk through the issue with a skilled counsellor. It is important to know that the longer erectile dysfunction is left untreated, the greater the effect on relationships. This is another reason why early treatment of erectile dysfunction is important.
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).
Men who wear tight underwear may also experience the same problems. Because of the constriction, feeling may be lost, and even if unnoticed actively, the brain will notice. This is part of the complication with erectile dysfunction between the brain and the body. While you may be in the mood, if the proper electrical signals are not sent back and forth, nothing will happen.
The link between chronic disease and ED is most striking for diabetes. Men who have diabetes are two to three times more likely to have erectile dysfunction than men who do not have diabetes. Among men with erectile dysfunction, those with diabetes may experience the problem as much as 10 to 15 years earlier than men without diabetes. Yet evidence shows that good blood sugar control can minimize this risk. Other conditions that may cause ED include cardiovascular disease, atherosclerosis (hardening of the arteries), kidney disease, and multiple sclerosis. These illnesses can impair blood flow or nerve impulses throughout the body.