One thing you need to know. When you are experiencing anxiety, you get a stress response. You can read more about this here. A stress response is what you automatically feel, say, if a fight broke out near you. Your body gets ready to protect itself. During a stress response, blood is diverted away from less important areas to help your heart beat faster.
Ejaculatory incompetence, erectile difficulty, erectile dysfunction, erectile failure, frigidity–female Medtalk The inability to achieve or maintain a penile erection adequate for the successful completion of intercourse, terminating in ejaculation; penile erection is mediated by nitric oxide Epidemiology Prevalence of minimal, moderate, and complete impotence in the Massachusetts Male Aging Study was 52%; age is the most important factor; complete impotence ↑ from 5%–age 40 to 15%–age 70; for an erection to achieve a successful outcome, it requires
In patients who either fail to respond to first or second-line therapy, or are not interested in the conservative therapies, penile prosthesis implantation is available. Malleable and rigid implants were available for many years, but in 1973 the world of penile prosthetics took a giant leap forward with the advent of the inflatable penile implant. Most implants done nowadays are of the inflatable variety. Adverse events including malfunction and infection are rare, and patient satisfaction is very high.45
Psychological processes such as depression, anxiety, and relationship problems can impair erectile functioning by reducing erotic focus or otherwise reducing awareness of sensory experience. This may lead to inability to initiate or maintain an erection. Etiologic factors for erectile disorders may be categorized as neurogenic, vasculogenic, or psychogenic, but they most commonly appear to derive from problems in all three areas acting in concert.
If a man's arteries become blocked with cholesterol – as a result of genetics, and/or lifestyle factors such as smoking, a poor diet and lack of exercise – it will affect the vessels all over his body. The arteries supplying the penis are relatively small, just 1-2mm wide, and so they become blocked more quickly than others. The blood flow to the area is reduced, meaning erections become more difficult.
Having learned a great deal more about erectile dysfunction including its risk factors and causes, you should be equipped to assess your own erectile function. If you have experienced erectile issues or you have some of the risk factors mentioned above, it may be worth making a trip to your doctor’s office. If you choose to seek help, give your doctor as much information as you can about your symptoms including their frequency and severity as well as the onset. With your doctor’s help, you can determine the best course of treatment to restore sexual function.
#3 You’re not having enough sex. The more sex you’re having, the less likely you are to suffer from erectile issues. The American Journal of Medicine reports that men who had sex once *or more* a week were less likely to have issues getting and maintaining an erection. So, not having sex is actually one of the reasons you can’t get hard. [Read: 13 ways to have better sex and change the way you make love]
Constriction of the trabecular smooth muscle and helicine arteries induced by sympathetic innervation makes the penis flaccid, with blood pressure in the cavernosal sinuses of the penis near venous pressure. Acetylcholine is thought to decrease sympathetic tone. This may be important in a permissive sense for adequate trabecular smooth muscle relaxation and consequent effective action of other mediators in achieving sufficient inflow of blood into the lacunar spaces. When the trabecular smooth muscle relaxes and helicine arteries dilate in response to parasympathetic stimulation and decreased sympathetic tone, increased blood flow fills the cavernous spaces, increasing the pressure within these spaces so that the penis becomes erect. As the venules are compressed against the tunica albuginea, penile pressure approaches arterial pressure, causing rigidity. Once this state is achieved, arterial inflow is reduced to a level that matches venous outflow.
You’ve heard of—and probably experienced—the numbing effect alcohol has on your mind, body, and (unfortunately) penis. If you fail to rise to the occasion on a regular basis and you're drinking has gone from occassional weekend binge to a Monday through Friday ordeal, consider cutting back—way back. Heavy drinking proportionately increases your risk of ED, according to research from the Indian Journal of Psychiatry.
Penile erection is managed by two mechanisms: the reflex erection, which is achieved by directly touching the penile shaft, and the psychogenic erection, which is achieved by erotic or emotional stimuli. The former uses the peripheral nerves and the lower parts of the spinal cord, whereas the latter uses the limbic system of the brain. In both cases, an intact neural system is required for a successful and complete erection. Stimulation of the penile shaft by the nervous system leads to the secretion of nitric oxide (NO), which causes the relaxation of smooth muscles of corpora cavernosa (the main erectile tissue of penis), and subsequently penile erection. Additionally, adequate levels of testosterone (produced by the testes) and an intact pituitary gland are required for the development of a healthy erectile system. As can be understood from the mechanisms of a normal erection, impotence may develop due to hormonal deficiency, disorders of the neural system, lack of adequate penile blood supply or psychological problems. Spinal cord injury causes sexual dysfunction including ED. Restriction of blood flow can arise from impaired endothelial function due to the usual causes associated with coronary artery disease, but can also be caused by prolonged exposure to bright light.
I’m going to share a secret with you. I understand that for men it’s a big (well, perhaps flaccid and at least momentarily small) deal when you can’t get hard. However, in most instances, women don’t give a fuck. We’re understanding creatures who (ahem) know a thing or two about not being able to get off every time. To ease the awkwardness, here are a few go-to phrases to drop when you just can’t get it up.
However, a review of a United Kingdom medical record database found no evidence that the use of 5-alpha reductase inhibitors independently increase the risk for ED. In 71,849 men with benign prostatic hyperplasia (BPH), the risk of ED was not increased with the use of finasteride or dutasteride only (odds ratio [OR] 0.94), or a 5-alpha reductase inhibitor plus an alpha blocker (OR 0.92) compared with an alpha blocker only. In addition, the risk of ED was not increase in 12 346 men prescribed finasteride 1 mg for alopecia, compared with unexposed men with alopecia (OR 0.95). The risk of ED did increase with longer duration of BPH, regardless of drug exposure. 
In their extensive review, Bassil and coworkers summarise the benefits and risks, with benefits such as improvement of sexual function, bone density, muscle strength, cognition and overall improvement in quality of life. Among the risks that have been suggested include erythrocytosis, liver toxicity, worsening of sleep apnoea and cardiac function, possibly increasing symptoms of benign prostatic hyperplasia (BPH). They also note that although a possibility of stimulation of prostate cancer has been hypothesised, no scientific or clinical evidence exists to this possible risk.38
Talk with your doctor before trying supplements for ED. They can contain 10 or more ingredients and may complicate other health conditions. Asian ginseng and ginkgo biloba (seen here) are popular, but there isn't a lot of good research on their effectiveness. Some men find that taking a DHEA supplement improves their ability to have an erection. Unfortunately, the long-term safety of DHEA supplements is unknown. Most doctors do not recommend using it.