When you become aroused, your brain sends chemical messages to the blood vessels in the penis, causing them to dilate or open, allowing blood to flow into the penis. As the pressure builds, the blood becomes trapped in the corpora cavernosa, keeping the penis erect. If blood flow to the penis is insufficient or if it fails to stay inside the penis, it can lead to erectile dysfunction.
"Medications that create blood flow to the penis can't help when an erection is blocked by the fear or anxiety of the fight-or-flight response,” says Feloney. “This type of erectile dysfunction probably has a lot to do with evolution — men didn't need an erection when a dinosaur was chasing them." The best way to treat erectile dysfunction caused by performance anxiety, depression, a poor relationship, or stress may be with a combination of ED drug treatment and sex therapy, individual therapy, or couples therapy from sexual health professionals.
Erectile dysfunction may be the result of arterial and non-arteritic causes. Hardening of the arteries that bring blood into the penis, atherosclerosis, is a common cause of erectile dysfunction, particularly in men with cardiovascular disease. However, problems with the nerves that supply the penis as well as the veins that drain blood out of the penis can also cause troubles with erection. Erectile dysfunction may also have a psychological cause.
Performance anxiety can be another cause of impotence. If a person wasn’t able to achieve an erection in the past, he may fear he won’t be able to achieve an erection in the future. A person may also find he can’t achieve an erection with a certain partner. Someone with ED related to performance anxiety may be able to have full erections when masturbating or when sleeping, yet he isn’t able to maintain an erection during intercourse.
Hello everyone my name is john Scott,i was heartbroken because i had very small penis, not nice to satisfy a woman, i had so many relationship called off because of my situation, i have used so many product which i found online but none could offer me the help i searched for. i saw some few comments about this specialist called Dr Austin and decided to email him on DRaustinenlargementhome
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. 
A study published in May 2014 in The Journal of Sexual Medicine found that some men can reverse erectile dysfunction with healthy lifestyle changes, such as exercise, weight loss, a varied diet, and good sleep. The Australian researchers also showed that even if erectile dysfunction medication is required, it's likely to be more effective if you implement these healthy lifestyle changes.
With an inflatable implant, fluid-filled cylinders are placed lengthwise in the penis. Tubing joins these cylinders to a pump placed inside the scrotum (between the testicles). When the pump is engaged, pressure in the cylinders inflate the penis and makes it stiff. Inflatable implants make a normal looking erection and are natural feeling for your partner. Your surgeon may suggest a lubricant for your partner. With the implant, men can control firmness and, sometimes, the size of the erection. Implants allows a couple to be spontaneously intimate. There is generally no change to a man's feeling or orgasm.