Conditions associated with reduced nerve and endothelium function (eg, aging, hypertension, smoking, hypercholesterolemia, and diabetes) alter the balance between contraction and relaxation factors (see Pathophysiology). These conditions cause circulatory and structural changes in penile tissues, resulting in arterial insufficiency and defective smooth muscle relaxation. In some patients, sexual dysfunction may be the presenting symptom of these disorders.
Psychological Causes of ED – Between 10% and 20% of ED cases have a psychological cause. Because arousal starts in the brain, psychological issues can be a significant contributing factor to erectile dysfunction. Mental health conditions like depression or anxiety can negatively impact your libido, making it more difficult for you to become aroused.
In a 2005 study, three months of twice-daily sets of kegel exercises combined with biofeedback and advice on lifestyle changes, such as quitting smoking, losing weight, and limiting alcohol, worked far better than just giving the participants advice. “Wearing tight pants will affect impotence along with some other medical conditions like diabetes and heart disease,” which can also affect a man’s degree of impotence, Dr. Jennifer Burns, specializing in family practice with an emphasis on gastrointestinal health at the BienEtre Center, told Medical Daily.

Something else to consider is your porn use.  If you are masturbating to very stimulating porn on a regular basis then it might be difficult to get as aroused in the bedroom with your partner.  Watching video pornography is very stimulating and often men have difficulty creating that same level of arousal or stimulation with their partners.  Consider masturbating without technology as visual images in your head are less stimulating then watching something live. Try this for two weeks and see if your erection quality improves.
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. [49]

Erectile dysfunction can cause strain on a couple. Many times, men will avoid sexual situations due to the emotional pain associated with ED, causing their partner to feel rejected or inadequate. It is important to communicate openly with your partner. Some couples consider seeking treatment for ED together, while other men prefer to seek treatment without their partner's knowledge. A lack of communication is the primary barrier for seeking treatment and can prolong the suffering. The loss of erectile capacity can have a profound effect on a man. The good news is that ED can usually be treated safely and effectively.
With an inflatable implant, fluid-filled cylinders are placed lengthwise in the penis. Tubing joins these cylinders to a pump placed inside the scrotum (between the testicles). When the pump is engaged, pressure in the cylinders inflate the penis and makes it stiff. Inflatable implants make a normal looking erection and are natural feeling for your partner. Your surgeon may suggest a lubricant for your partner. With the implant, men can control firmness and, sometimes, the size of the erection. Implants allows a couple to be spontaneously intimate. There is generally no change to a man's feeling or orgasm.
VED involved placing the penis in a clear plastic tube where negative pressure created by the vacuum pump leads to penile engorgement and tumescence. Usually a constriction ring can be placed on the base of penis following penile engorgement. Some men complain of bruising, a “cold” penis and pain associated with the constriction ring; however, in some men with NED sensation may not be intact mitigating the side effects of VEDs. VEDs have reported effectiveness up to 90% in certain ED populations and it remains a non-invasive means to achieve and erection.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality. [56] Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
Treatment depends on the underlying cause. In general, exercise, particularly of the aerobic type, is effective for preventing ED during midlife. Exercise as a treatment is under investigation.[22]:6, 18–19 For tobacco smokers, cessation often results in a significant improvement.[23] Oral pharmacotherapy and vacuum erection devices are first-line treatments,[22]:20, 24 followed by injections of drugs into the penis, as well as penile implants.[22]:25–26 Vascular reconstructive surgeries are beneficial in certain groups.[24]
In rare cases, the drug Viagra ® can cause blue-green shading to vision that lasts for a short time. In rare cases, the drug Cialis® can cause or increase back pain or aching muscles in the back. In most cases, the side effects are linked to PDE5 inhibitor effects on other tissues in the body, meaning they are working to increase blood flow to your penis and at the same time impacting other vascular tissues in your body. These are not ‘allergic reactions'.
×