A lot of the time, the issue is a combination of both. For instance, cortisol – which is an important steroid hormone in the body – is released in greater amounts when we're stressed. It's supposed to briefly shut down non-essential functions like reproduction and fighting off illnesses whilst you deal with the danger at hand. However, the chronic and ongoing stress of modern life increases our background cortisol levels, activating the sympathetic system and stopping an erection.
Vascular: Anything that affects the flow of blood to the penis can result in erectile dysfunction. The main culprit tends to be atherosclerosis, the condition that narrows arteries and which can result in poor blood circulation, high blood pressure, heart disease and stroke. Atherosclerosis causes about half the cases of erectile dysfunction in men over 50. Also, the veins through which the blood leaves the penis may not be working properly, allowing the blood to leave too soon.
But he may have a real problem. Generally, erectile dysfunction is linked to cardiovascular health. If your guy has serious health problems, drinks and smokes too much, or does too many drugs, those conditions may play a role. Obesity, heart disease, prescription medications, and diabetes are just a few of the common risk factors. And then there are the psychological causes: depression, stress, and the million things flashing through his head when he's struggling to get it on.
The availability of phosphodiesterase-5 (PDE5) inhibitors—sildenafil, vardenafil, tadalafil, and avanafil—has fundamentally altered the medical management of ED. In addition, direct-to-consumer marketing of these agents over the last 15 years has increased the general public’s awareness of ED as a medical condition with underlying causes and effective treatments.
The recommended starting dose of vardenafil is 10 mg taken orally approximately one hour before sexual activity. A doctor may adjust the dose higher or lower depending on efficacy and side effects. The maximum recommended dose is 20 mg, and the maximum recommended dosing frequency is no more than once per day. Patients can take vardenafil with or without food. As with sildenafil, for vardenafil to be effective, sexual stimulation must occur.
Factors that mediate contraction in the penis include noradrenaline, endothelin-1, neuropeptide Y, prostanoids, angiotensin II, and others not yet identified. Factors that mediate relaxation include acetylcholine, nitric oxide (NO), vasoactive intestinal polypeptide, pituitary adenylyl cyclase–activating peptide, calcitonin gene–related peptide, adrenomedullin, adenosine triphosphate, and adenosine prostanoids.
Alprostadil may also be administered into the urethral opening of the penis. In MUSE (medical urethral system for erection), the man inserts a thin tube the width of a vermicelli noodle into his urethral opening and presses down on a plunger to deliver a tiny pellet containing alprostadil into his penis. The drug takes about 10 minutes to work and the erection lasts about an hour. The main side effect is a sensation of pain and burning in the urethra, which can last about five to 15 minutes.
Is your erectile dysfunction due to psychological (stress, relationship problems, etc.) or physical factors? Your doctor may ask if you note erections at night or in the early morning. Men have involuntary erections in the early morning and during REM sleep (a stage in the sleep cycle with rapid eye movements). Men with psychogenic erectile dysfunction (erectile dysfunction due to psychological factors such as stress and anxiety rather than physical factors) usually maintain these involuntary erections. Men with physical causes of erectile dysfunction (for example, atherosclerosis, smoking, and diabetes) usually do not have these involuntary erections. Men with psychogenic erectile dysfunction may relate the onset of problems to a "stressor," such as failed relationship. Your doctor may suggest a test to determine if you have erections during sleep, which may suggest that there may be a psychological cause of the erectile dysfunction.
When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.
An erection might last indefinitely if it weren’t for chemicals in the body called phosphodiesterases. They work at reversing the process trying to return the penis to being soft (i.e., flaccid). Usually there is a balance between the chemicals that result in an erection lasting for as long as it is needed, which allows the phosphodiesterases to do their job when they should and no sooner. You wouldn’t want an erection forever so it is a good thing that phosphodiesterases exist.
Erectile dysfunction can occur as a side effect of medication taken for another health condition. Common culprits are high blood pressure meds, antidepressants, some diuretics, beta-blockers, heart medication, cholesterol meds, antipsychotic drugs, hormone drugs, corticosteroids, chemotherapy, and medication for male pattern baldness, among others.
In a randomized double-blind, parallel, placebo-controlled trial, sildenafil plus testosterone was not superior to sildenafil plus placebo in improving erectile function in men with ED and low testosterone levels.  The objective of the study was to determine whether the addition of testosterone to sildenafil therapy improves erectile response in men with ED and low testosterone levels.
Fortunately, impotence is usually treatable. A thorough evaluation starting with a history and physical exam is needed to help diagnose the underlying cause. Once the cause of impotence is determined, treatment can be tailored to target that cause and any other contributing factors. Treatments used for impotence may include medications, vacuum devices, surgery, and psychotherapy.
Stiffy Solution: Frustratingly enough, the only solution to exhaustion-based impotence is to get some rest, which is obviously difficult (or your dude wouldn't be having this problem in the first place). But if your guy has been resistant to getting help for his insomnia or asking for different hours at work, the inability to get his nine iron out on the putting green might be the thing that finally motivates him to make a life change. So, at least there's that.