Your boyfriend is having a pretty normal problem but because guys are so insecure, they almost never talk about it. That silence often makes guys, especially young guys, panicky — like they’re the only ones in the world dealing with this problem. That freaks them out even more, and that anxiety feeds on itself in a fairly classic and unfortunately common pattern: When a guy has trouble getting it up, he gets so down that the impotence gets worse before it gets better. Anxiety-driven impotence can be a vicious cycle: Quite unlike his dick, the problem just grows and grows.
An initial approach to medical therapy should consider reversible medical problems that may contribute to erectile dysfunction. Included in this should be assessment of the possibility of medication-induced erectile dysfunction with consideration for reduction of polypharmacy and/or substitution of medications with lower probability of inducing erectile dysfunction.
Vardenafil and tadalafil belong to the same group of chemical compounds as sildenafil, namely phos-phodiesterase type 5 (PDE-5) inhibitors. Some men cannot benefit from sildenafil or the two newer PDE-5 inhibitors because they have low levels of nitric oxide. British investigators reported in late 2002 that three different types of compounds are being studied as possible medications for men with low levels of nitric oxide. They are Rho-kinase inhibitors, soluble guanylate cyclase activators, and nitric oxide-releasing PDE-5 inhibitors.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
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
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.
If PDE5 drugs don't work or cannot be used because of potential side effects, your doctor can recommend other therapies. The drug alprostadil (Caverject, Edex, Muse) allows blood to flow more freely in the penis, leading to an erection. The drug can be injected with a tiny needle into your penis. Or, a small pellet (suppository) can be inserted into the opening of the penis. Suppositories and injections are effective in the majority of men.
In men, erectile dysfunction can be defined as being a persistent inability to get or keep an erection that is firm enough to attain sexual satisfaction. It should not be confused with the occasional incident when this occurs, which is an experience common to the vast majority of men for various reasons. These can include having had too much alcohol to drink, being overly-anxious about a new sexual partner, or being worried about current events in your life. The issue would only be classed as Erectile Dysfunction if it keeps happening again and again. Again, an erection once attained should be hard enough and last long enough to be satisfactory. Other conditions, like premature ejaculation, may interfere in this process but these are different problems, and would be treated differently.
The mood is set, the wine is drunk, and you’re ready to go. Only one problem, despite wanting to have sex, your penis doesn’t seem quite up to the task. Trouble keeping an erection is often depicted as a problem for older men, but factors other than age can affect a man’s ability to have and keep an erection. Here are 6 reasons why you or your partner may have trouble with their erections.
Remember those cultural messages we discussed earlier, about how men are wild sex aliens from the planet Weenus? Well, men are raised hearing those messages, too, and they can end up screwing with their sexual self-image —for instance, they can lead men to obsess over their own virility, and panic about impressing a new partner, until they've thought their boner into a corner and can't get an erection. Performance anxiety is one of the most common culprits behind lost erections, especially among younger, less experienced men.
Organic impotence refers to the inability to obtain an erection firm enough for vaginal penetration, or the inability to sustain the erection until completion of intercourse. In contrast to psychogenic impotence, which is impotence caused by anxiety, guilt, depression, or conflict around various sexual issues, organic impotence, the more common of the two categories of erectile dysfunction, is caused by physical problems. Ten to 20% of middle-aged men and a much higher percentage of elderly men are impotent. Aside from its importance as a common and distressing sexual problem, organic impotence may herald important medical problems.
The association of CVD and ED was noted in 1997 as one analysed the results of the MMAS. In this landmark study, 1709 men aged 40–70 years were enrolled between 1987 and 1989. A follow-up some 10 years later revealed a striking relationship between ED and CVD. In this study, it became clear that the risk factors for ED were very similar to those of CVD, such as diabetes mellitus, smoking and dyslipidaemia.18
Smoking damages blood vessels, inhibiting blood flow throughout the body ... and I mean throughout the body. While studies have found that men with erectile problems only make up 20 percent of the general population, 40 percent of men with erectile problems are smokers. And a 2011 study of a group of male smokers with erectile problems found that 75 percent of them saw those erectile problems disappear after they quit.
Male/Female Perceptions and Influences. The diagnosis of erectile dysfunction may be understood as the presence of a condition limiting choices for sexual interaction and possibly limiting opportunity for sexual satisfaction. The impact of this condition depends very much on the dynamics of the relationship of the individual and his sexual partner and their expectation of performance. When changes in sexual function are perceived by the individual and his partner as a natural consequence of the aging process, they may modify their sexual behavior to accommodate the condition and maintain sexual satisfaction. Increasingly, men do not perceive erectile dysfunction as a normal part of aging and seek to identify means by which they may return to their previous level and range of sexual activities. Such levels and expectations and desires for future sexual interactions are important aspects of the evaluation of patients presenting with a chief complaint of erectile dysfunction.
Trauma to the pelvic blood vessels or nerves can also lead result in ED. Bicycle riding for long periods has been implicated as an etiologic factor; direct compression of the perineum by the bicycle seat may cause vascular and nerve injury.  On the other hand, bicycling for less than 3 hours per week may be somewhat protective against ED.  Some of the newer bicycle seats have been designed to diminish pressure on the perineum. [37, 38]
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.
Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
One study examined the role of testosterone supplementation in hypogonadal men with ED. These men were considered nonresponders to sildenafil, and their erections were monitored by assessing nocturnal penile tumescence (NPT). After these men were given testosterone transdermally for 6 months, the number of NPTs increased, as did the maximum rigidity with sildenafil.  This study suggests that a certain level of testosterone may be necessary for PDE5 inhibitors to function properly.
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.