In some cases, nocturnal penile tumescence testing is performed to find out whether the man has erections while asleep. Healthy men usually have about four or five erections throughout the night. The man applies a device to the penis called a Rigiscan before going to bed at night, and the device can determine whether he has had erections. (If a man is able to have normal erections at night, this suggests a psychological cause for his impotence.)
Thinking about sex creates a burst of dopamine, which is a brain chemical that’s linked to excitement, motivation and pleasure. It also plays a crucial role in helping you to get an erection! In a man who is bored with or indifferent about sex, thinking about the act is unlikely to be accompanied by that dopamine burst, making it likely that the man will experience erectile dysfunction.
Erectile dysfunction may be an unpleasant condition that no one really wants to talk about, failing to acknowledge it won’t make the problem go away. Your best defense against health problems like this is to learn everything you can about it so you can tackle the problem at the root. If you’re ready to stop living in embarrassment about your sexual function, become an advocate for yourself and your own health and talk to your doctor.
Impotence is the inability to get and keep an erection hard enough to have sex. Many men experience difficulties getting an erection when they are tired or stressed. This is normal and it doesn’t require treatment. However, if you encounter problems that persist, you may be suffering with a degree of impotence. Impotence is a very treatable condition and help is available either when you visit your local GP or an online doctor.
Viagra and Cialis, despite their aggressive marketing, are not the ideal treatment for men with psychological impotence. Rather, they are designed to treat physical erectile dysfunction that is rooted in blood flow malfunction. For the man with psychological ED, taking a pill may not work properly because they’re not tackling the psychological causes of the problem.
Common medical conditions such as diabetes, heart disease, and high blood pressure are associated with an increased risk of developing erectile dysfunction. Thus, optimal management of these diseases may help prevent the development or progression of erectile dysfunction. Lifestyle modifications to improve vascular function, including smoking cessation, losing weight if overweight, and exercising regularly, may be helpful.
Conditions associated with reduced nerve and endothelium function (eg, aging, hypertension, smoking, hypercholesterolemia, and diabetes) alter the balance between contraction and relaxation factors (see Pathophysiology). These conditions cause circulatory and structural changes in penile tissues, resulting in arterial insufficiency and defective smooth muscle relaxation. In some patients, sexual dysfunction may be the presenting symptom of these disorders.
With the pumps, erections last until the user hits the deflate button, which Kohler says “doesn’t happen” accidentally. He adds that pump prostheses “are locker-room proof: Nobody can see that you have one.” (Obviously, this is not the case with the always-on malleable rod option.) Implanted pumps are reliable, experts say, with more than 90 percent of the devices working for 12 to 15 years.
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. 
Organic Impotence. Diabetes mellitus, thyroid disease, and dysfunction of the pituitary gland or testes can cause impotence, as can certain medications. Other organic causes include arterial ischemia associated with atherosclerosis of the aorta and common iliac arteries, extensive pelvic surgery such as radical prostatectomy, spinal cord injury and other neurologic disorders, and a history of cigarette smoking. Because certain medications can cause impotence, it is recommended that in cases of recent impotence it be determined whether the patient has started on a new drug. The most common offenders are diuretics, antihypertensives, and vasodilators. Alcohol, which sometimes is ignored as a drug, is often a contributor to the problem of impotence.
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.