Depression and anxiety: Psychological factors may be responsible for erectile dysfunction. These factors include stress, anxiety, guilt, depression, widower syndrome, low self-esteem, posttraumatic stress disorder, and fear of sexual failure (performance anxiety). It is also worth noting that many medications used for treatment of depression and other psychiatric disorders may cause erectile dysfunction or ejaculatory problems.
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.
In other cases, men who habitually use alcohol or other drugs may experience similar results. Alcohol is a depressant to the central nervous system. This means that a little bit might be able to lighten the mood, but too much can basically shut down all communication between the brain and the penis. When this happens, no amount of will or stimulation will result in an erection. Other drugs can also affect the body’s ability to achieve an erection, including heroin and MDMA, otherwise known as ecstasy.
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. 
How’s this for a win-win: The more sex you have, the less likely you are to suffer from erectile dysfunction, according to a 2008 study published in The American Journal of Medicine. Men aged 55-75 who reported having sex less than once per week had twice the incidence of erectile dysfunction (there were 79 cases of ED per 1,000) as men who have sex once a week (32 cases of ED per 1,000). But if you really want to up your odds, shoot for three times per week (only 16 cases of ED per 1,000). Can you really argue with science, or a perscription to have more sex?
There are, as you listen to all of the advertisements, if your erection lasts for more than four hours, there are very, very unusual cases where that can happen. There are very rare cases of visual problems. There are even rarer cases of hearing problems. But with every medication, there always a potential downside. But the absolute contraindication is an unstable medical condition, an unstable cardiovascular condition, being on nitrates.
I'd recommend the second option. In any long-term relationship, there will come a time when you flirt a little too much. Technology makes those little transgressions seem much more major because there's digital proof. (I'm guessing that you would never have flashed him in the real world. Would you?) Maybe you should just learn from your experience and save your boyfriend the drama. Understand that you made a mistake, and keep your breasts to yourself.
In men of all ages, erectile failure may diminish willingness to initiate sexual relationships because of fear of inadequate sexual performance or rejection. Because males, especially older males, are particularly sensitive to the social support of intimate relationships, withdrawal from these relationships because of such fears may have a negative effect on their overall health.
Estimates of the prevalence of impotence depend on the definition employed for this condition. For the purposes of this consensus development conference statement, impotence is defined as male erectile dysfunction, that is, the inability to achieve or maintain an erection sufficient for satisfactory sexual performance. Erectile performance has been characterized by the degree of dysfunction, and estimates of prevalence (the number of men with the condition) vary depending on the definition of erectile dysfunction used.
As with most other organ system in the human body, changes and loss of function is normal consequence of the ageing process. This is also true of the endocrine system, specifically the levels of testosterone production from the Leydig cells of the testicle. Accompanying the decrease in testosterone is a decrease in erections which also has a component in decrease in the blood supply to the penis making erection not as frequent and not as rigid compared with a young man’s erectile function. Although these changes are in itself not life threatening, they can impact a man’s relationship with his partner, and also ED may be a harbinger of other undiagnosed conditions such as coronary artery disease (CAD), hypercholesterolaemia or diabetes mellitus.6
Erection is a vascular event. The penis becomes rigid when blood flow to the corpora cavernosa increases sixfold and venous outflow is physiologically impeded. Penile perfusion is governed by three organ systems—the neurologic, circulatory, and endocrinologic systems—each necessary for potency. The neurologic system accounts for vasodilation and venoconstriction of the corporal blood vessels so that blood is shunted to the erectile tissues; the circulatory system provides adequate blood flow to the hypogastric-cavernous bed, a distal branch off the internal iliac vessels; and the endocrine system, mediated by testosterone, plays a permissive role through mechanisms that have yet to be elucidated.
In some cases, nocturnal penile tumescence testing is performed to find out whether the man has erections while asleep. Healthy men usually have about four or five erections throughout the night. The man applies a device to the penis called a Rigiscan before going to bed at night, and the device can determine whether he has had erections. (If a man is able to have normal erections at night, this suggests a psychological cause for his impotence.)
It can also help to tell your partner (either before you start or when it happens) that hey, sometimes it takes your penis a while to warm up or sometimes it comes and goes as it pleases — and that they shouldn't take it personally and you won't let it ruin the moment. When it happens, take a few deep breaths, focus on your partner, and go back to doing whatever was feeling good before. "If they approach that with authentic confidence, the partner is usually like 'OK, cool,'" says Skyler. "Remember, you're more than just your penis."
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
The motivation and expectations of the patient and his partner and education of both are critical in determining which therapy is chosen and in optimizing its outcome. If single therapy is ineffective, combining two or more forms of therapy may be useful. Penile prostheses should be placed only after patients have been carefully screened and informed. Vascular surgery should be undertaken only in the setting of clinical investigation and extensive clinical experience. With any form of therapy for erectile dysfunction, long-term followup by health professionals is required to assist the patient and his partner with adjustment to the therapeutic intervention. This is particularly true for intracavernosal injection and vacuum constriction therapies. Followup should include continued patient education and support in therapy, careful determination of reasons for cessation of therapy if this occurs, and provision of other options if earlier therapies are unsuccessful.
A meta-analysis of 36 744 men with ED in 12 prospective cohort studies found that the presence of ED significantly increased the risk of CVD, CAD, stroke and all-cause mortality, and the presence of ED was an independent risk factor for CVD. Ponholzer et al found that men with moderate to severe ED had a 65% increased relative risk for developing symptomatic CAD compared with men who did not have ED.26
As is true in so many medical conditions, lifestyle modifications, considered first-line therapy, can have a salutary effect in ED management, and men should be encouraged to make the necessary changes to the benefit of their sexual function and to their overall health as well. Despite the benefits of behaviour modification, men presenting with ED want the physician to help with measures that can have an immediate impact.
Erectile dysfunction (previously called impotence) is the inability to get or maintain an erection that is sufficient to ensure satisfactory sex for both partners. This problem can cause significant distress for couples. Fortunately more and more men of all ages are seeking help, and treatment for ED has advanced rapidly. The enormous demand for “anti-impotence” drugs suggests that erection problems may be more common than was previously thought. Find out more about the causes and treatment of erectile dysfunction here.