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. [42] 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.
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.

Concerns that use of pornography can cause erectile dysfunction[14] have not been substantiated in epidemiological studies according to a 2015 literature review.[15] However, another review and case studies article maintains that use of pornography does indeed cause erectile dysfunction, and critiques the previously described literature review.[16]

So what can you do to help things along a little?  Well, chances are it may sort itself out as you settle in to your relationship. But if it keeps happening and you see a future in the relationship, you need to talk about it, or it will soon become the elephant in the bedroom. Pick a time with no distractions and where nobody can overhear you. Tell them that you care about them and that you don’t need to rush things sexually. This can take the pressure off the need to perform. 
Finally, there are NO-releasing polymers that are capable of delivering NO in a pharmacologically useful way. Such compounds include compounds that release NO upon being metabolised and compounds that release NO spontaneously in aqueous solution. Initial animal studies suggest that cavernosal injections of NO polymers can significantly improve erectile function.48

The main medical causes of erectile dysfunction are based around poor blood flow (due to furring of the arteries thanks to raised cholesterol or high blood pressure), poor nerve supply caused by diabetes-related nerve damage, or low testosterone as a result of obesity, old age or failing gonads. We doctors get just as concerned with men who have variable erections as well as those that can't get an erection at all. Failing to get an erection occasionally is pretty normal as you get older. But if you have unreliable erections for a prolonged period of time – more than six months – this could suggest an early sign of physical problems such as cardiovascular disease or diabetes which could develop further so get yourself checked out.

Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.