Relationship problems can make it difficult for you to get or stay hard when you’re attempting to have sex with the person you’re in a relationship with. However, if you have this problem and you’re in a relationship that doesn’t mean your relationship is necessarily the reason. There are lots of other reasons you might not be able to get or stay hard (see above).
Some may use alcohol as a way to get into the mood and overcome some of the nerves associated with having sex, but too much of a good thing can actually backfire. In fact, having a long history of alcohol abuse may lead to long-term erectile dysfunction. As many as 70 percent of men with chronic erectile dysfunction also have a history of alcohol abuse.
By contrast, psychogenic impotence typically is abrupt in onset, often in relation to psychological trauma, and may wax and wane. Patients with psychogenic impotence may have total erectile failure with one partner but not another, or be impotent during sexual intercourse but not during self-stimulation. Normally occurring spontaneous erections in the morning suggest psychogenic rather than organic causes for impotence.
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. 
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.
As blood flows into the penis, the corpora cavernosa swell, and this swelling compresses the veins (blood vessels that drain the blood out of the penis) against the tunica albuginea. Compression of the veins prevents blood from leaving the penis. This creates a hard erection. When the amount of cGMP decreases by the action of a chemical called phosphodiesterase type 5 (PDE5), the muscles in the penis tighten, and the blood flow into the penis decreases. With less blood coming into the penis, the veins are not compressed, allowing blood to drain out of the penis, and the erection goes down.
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.
Quitting smoking, exercising regularly, losing excess weight, curtailing excessive alcohol consumption, controlling hypertension, and optimizing blood glucose levels in patients with diabetes are not only important for maintaining good health but also may improve or even prevent progression of erectile dysfunction. It is unclear if such lifestyle changes can reverse erectile dysfunction. However, lifestyle improvements may prevent progression of the erectile dysfunction. Some studies suggest that men who have made lifestyle improvements experience increased rates of success with oral medications.
Tadalafil shares the common side effects of the PDE5 inhibitors, however, due to its effect on PDE11, another phosphodiesterase located in muscle, tadalafil has been associated with muscle aches. Back pain and muscle aches occur in less than 7% of men taking tadalafil and in most patients will go away without treatment within 48 hours. When treatment was necessary, acetaminophen (Tylenol) and nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen (Motrin, Advil) or naproxen (Aleve) were effective. Rarely do the muscle aches and back pain cause men to stop using tadalafil.
Erections are neurovascular events, meaning that nerves and blood vessels (arteries and veins) are involved in the process of an erection and all must work properly to develop a hard erection that lasts long enough. Erection begins with sexual stimulation. Sexual stimulation can be tactile (for example, by a partner touching the penis or by masturbation) or mental (for example, by having sexual fantasies, viewing porn). Sexual stimulation or sexual arousal causes the nerves going to the penis to release a chemical, nitric oxide. Nitric oxide increases the production of another chemical, cyclic GMP (cGMP), in the muscle of the corpora cavernosa. The cGMP causes the muscles of the corpora cavernosa to relax, and this allows more blood to flow into the penis. The incoming blood fills the corpora cavernosa, making the penis expand.
*All medications have both common (generic) and brand names. The brand name is what a specific manufacturer calls the product (e.g., Tylenol®). The common name is the medical name for the medication (e.g., acetaminophen). A medication may have many brand names, but only one common name. This article lists medications by their common names. For information on a given medication, check our Drug Information database. For more information on brand names, speak with your doctor or pharmacist.
Patients should continue testosterone therapy only if there is improvement in the symptoms of hypogonadism and should be monitored regularly. You will need periodic blood tests for testosterone levels and blood tests to monitor your blood count and PSA. Testosterone therapy has health risks, and thus doctors should closely monitor its use. Testosterone therapy can worsen sleep apnea and congestive heart failure.
Cavallini, G., Modenini, F., Vitali, G., & Koverech, A. (2005, November). Acetyl-L-carnitine plus propionyl-L-carnitine improve efficacy of sildenafil in treatment of erectile dysfunction after bilateral nerve-sparing radical retropubic prostatectomy. Urology, 66(5), 1080-5. Retrieved from http://www.sciencedirect.com/science/article/pii/S0090429505006515
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
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.
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.
Cause-specific assessment and treatment of male sexual dysfunction will require recognition by the public and the medical community that erectile dysfunction is a part of overall male sexual dysfunction. The multifactorial nature of erectile dysfunction, comprising both organic and psychologic aspects, may often require a multidisciplinary approach to its assessment and treatment. This consensus report addresses these issues, not only as isolated health problems but also in the context of societal and individual perceptions and expectations.
Penile prostheses are very effective, and most patients who have a prosthesis placed are satisfied with the prosthesis. However, placement of a prosthesis causes scarring of the tissue within the corpora cavernosa, and if the prosthesis requires removal, other forms of therapy, except for the vacuum device, are often not effective. Thus, most physicians reserve placement of a prosthesis for men who have tried and failed or have contraindications to other therapies.
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.