Counselling or sex therapy (58% of people find this works for them) –mind-related causes of erectile dysfunction can affect anyone. They are more likely if you experience erectile dysfunction at a younger age. Talking to a counsellor or therapist can help some people overcome erectile dysfunction related to these problems, possibly for good. They can also help you if your erectile dysfunction is causing you stress, as this can make matters worse.
Years ago, the standard treatment for impotence was an implantable penile prosthesis or long-term psychotherapy. Although physical causes are now more readily diagnosed and treated, individual or marital counseling is still an effective treatment for impotence when emotional factors play a role. Fortunately, other approaches are now available to treat the physical causes of impotence.
Erectile dysfunction (ED) related to compromise of the nervous system is an increasingly common occurrence. This may be due to the multifactorial nature of ED, the myriad of disorders affecting the neurotransmission of erectogenic signals, and improved awareness and diagnosis of ED. Nevertheless, neurogenic ED remains poorly understood and characterized. Disease related factors such as depression, decreased physical and mental function, the burden of chronic illness, and loss of independence may preclude sexual intimacy and lead to ED as well. The amount of data regarding treatment options in subpopulations of differing neurologic disorders remains scarce except for men with spinal cord injury. The treatment options including phosphodiesterase inhibitors, intracavernosal or intraurethral vasoactive agents, vacuum erection devices (VED) and penile prosthetic implantation remain constant. This review discusses the options in specific neurologic conditions, and briefly provides insight into new and future developments that may reshape the management of neurogenic ED.
In order to establish whether normal erections are occurring overnight (nocturnal erections), the doctor may organise nocturnal penile tumescence (NPT) testing. This involves wearing a monitor overnight in your own home. The data from this monitor is then assessed to analyse how often erections occurred, how long they lasted, and how rigid and large the penis was during the erections. If NPT testing is normal, the cause of erectile dysfunction is usually psychological. If not, further testing of the blood flow in the genital area may be required to see if there is blockage or leakage. The doctor may also organise a blood test of levels of hormones such as testosterone, prolactin and thyroid stimulating hormone to see if these are contributing to the erectile dysfunction.
Impotence is a common problem among men and is characterized by the consistent inability to sustain an erection sufficient for sexual intercourse or the inability to achieve ejaculation, or both. Erectile dysfunction can vary. It can involve a total inability to achieve an erection or ejaculation, an inconsistent ability to do so, or a tendency to sustain only very brief erections.
Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in all men and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
Other hormone levels: Measurement of other hormones beside testosterone (luteinizing hormone [LH], prolactin level, and cortisol level) may provide clues to other underlying causes of testosterone deficiency and erectile problems, such as pituitary disease or adrenal gland abnormalities. Doctors may check thyroid levels in some individuals as both hypothyroidism (low thyroid function) and hyperthyroidism (overactive thyroid function) can contribute to erectile dysfunction.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
One of the first steps is to distinguish between physiological and psychological ED. Determining whether involuntary erections are present is important in eliminating the possibility of psychogenic causes for ED. Obtaining full erections occasionally, such as nocturnal penile tumescence when asleep (that is, when the mind and psychological issues, if any, are less present), tends to suggest that the physical structures are functionally working. Similarly, performance with manual stimulation, as well as any performance anxiety or acute situational ED, may indicate a psychogenic component to ED.
Chronic stress dumps adrenaline in your system multiple times a day. And that can lead to high blood pressure, heart disease, obesity, and diabetes. Chronic stress is like red-lining your car all day long. When you drive 100 mph all the time, something is going to break down. A high-stress environment can actually change the way your brain sends messages to your body. Dumping too much adrenaline into your bloodstream can affect blood flow and severely limit your ability to achieve and maintain an erection.
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.