The association of CVD and ED was noted in 1997 as one analysed the results of the MMAS. In this landmark study, 1709 men aged 40–70 years were enrolled between 1987 and 1989. A follow-up some 10 years later revealed a striking relationship between ED and CVD. In this study, it became clear that the risk factors for ED were very similar to those of CVD, such as diabetes mellitus, smoking and dyslipidaemia.18
Cosgrove et al reported a higher rate of sexual dysfunction in veterans with posttraumatic stress disorder (PTSD) than in veterans who did not develop this problem.  The domains on the International Index of Erectile Function (IIEF) questionnaire that demonstrated the most change included overall sexual satisfaction and erectile function. [43, 44] Men with PTSD should be evaluated and treated if they have sexual dysfunction.
Physicians make a diagnosis of erectile dysfunction in men who complain of troubles having a hard enough erection or a hard erection that does not last long enough. It is important as you talk with your doctor that you be candid in terms of when your troubles started, how bothersome your erectile dysfunction is, how severe it is, and discuss all your medical conditions along with all prescribed and nonprescribed medications that you are taking. Your doctor will ask several questions to determine if your symptoms are suggestive of erectile dysfunction and to assess its severity and possible causes. Your doctor will try to get information to answer the following questions:
In terms of practical solutions, this is a common problem so there are some common aids. Drugs like Viagra or Cialis or Levitra work for many, many men. If his doctor recommends it, there’s no shame in popping a pill if it solves the problem — particularly if it helps alleviate the anxiety. Sometimes, a guy just needs to get his groove back for a while so he can relax and start having fun again. Also don’t forget the noble, oft-ignored cock ring, which constricts blood flow and helps men keep it up. They’re cheap and easy.
Endocrine problems, though uncommon, should be considered in patients presenting with impotence. As a rule, impotence due to hypogonadism will be partial and accompanied by decreased libido. Hypothalmic–pituitary problems, which include tumors, are the most common endocrine disorders causing impotence, followed by primary gonadal failure from one of many causes. Poorly controlled diabetes with polyuria and polydypsia is an important reversible cause of impotence, as is hyperthyroidism. Certain drugs, alcohol included, can lead to impotence as a result of endocrine disturbances.
There have been some studies to suggest that a placebo effect that improves ED may work for some men. One study found that men taking an oral placebo pill showed as much improvement in ED symptoms as men who took actual medication to improve ED. Conversely, men who were given therapeutic suggestions to improve ED did not see signs of symptom improvement.
The dorsal artery provides for engorgement of the glans during erection, whereas the bulbourethral artery supplies the bulb and the corpus spongiosum. The cavernous artery effects tumescence of the corpus cavernosum and thus is principally responsible for erection. The cavernous artery gives off many helicine arteries, which supply the trabecular erectile tissue and the sinusoids. These helicine arteries are contracted and tortuous in the flaccid state and become dilated and straight during erection. 
Damage to the autonomic pathways innervating the penis may eliminate "psychogenic" erection initiated by the central nervous system. Lesions of the somatic nervous pathways may impair reflexogenic erections and may interrupt tactile sensation needed to maintain psychogenic erections. Spinal cord lesions may produce varying degrees of erectile failure depending on the location and completeness of the lesions. Not only do traumatic lesions affect erectile ability, but disorders leading to peripheral neuropathy may impair neuronal innervation of the penis or of the sensory afferents. The endocrine system itself, particularly the production of androgens, appears to play a role in regulating sexual interest, and may also play a role in erectile function.
Diet can also affect a man’s ability to achieve or maintain an erection. As stated, men who indulge in alcohol may have trouble with erections, but men who have poor diets, suffer from diabetes, or who are overweight can also restrict blood flow to the penis or suffer from poor body image. All of these factors, especially when combined, can lead to erectile dysfunction.
…have traditionally been classified as impotence (inability of a man to achieve or maintain penile erection) and frigidity (inability of a woman to achieve arousal or orgasm during sexual intercourse). Because these terms—impotence and frigidity—have developed pejorative and misleading connotations, they are no longer used as scientific classifications, having been…
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.
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.
Psychological factors on their own are estimated to be the cause of 20% of all the cases of erectile dysfunction and account for most of the difficulties in young men. They can also contribute towards its continuation in all age groups where physical causes are the main culprit, but the man’s reaction to what he sees as his “failure” has added a psychological impact.
Traditionally, erectile impotence (the classical definition of impotence) is the failure to achieve penile erection during intercourse. It may have either physical or psychological causes. Alcoholism, endocrine disease, and neurological disorders are typical physical causes. Psychological causes include anxiety over performance, hostility or other negative feelings toward the sexual partner, and stress, anxiety, depression, or other emotional conflicts outside of the relationship. Erectile impotence occasionally occurs with age and, although attributed by the individual to the aging process itself, it is usually secondary to disorders of aging, such as faulty blood circulation or prostate disease. In cases of impotence caused by blood vessel dysfunction, an insufficient supply of blood flows into the penis, or the blood diffuses out into adjacent tissues.