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'.
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
ED can also occur among younger men. A 2013 study found that one in four men seeking their first treatment for ED were under the age of 40. The researchers found a stronger correlation between smoking and illicit drug use and ED in men under 40 than among older men. That suggests that lifestyle choices may be a main contributing factor for ED in younger men.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
When lifestyle changes alone don’t work, drug therapy (Viagra®, Cialis®, Levitra®, etc.) is normally the next step. Most of these medications work similarly to enhance a natural chemical in your body that relaxes the muscles in your penis. The goal of this medication is to increase your response to sexual stimulation by increasing the blood flow in your penis allowing you to get an erection.22
Recognized risk factors for ED include cardiovascular disease (CVD) (hypertension, atherosclerosis, and hyperlipidemia), diabetes, depression, alcohol use, smoking, pelvic/perineal surgery or trauma, neurologic disease, obesity, pelvic radiation, and Peyronie’s disease. One study suggested that the relationship between arterial disease and ED is very strong, with 49% (147 of 300) of patients with coronary artery disease noted on cardiac catheterization reporting significant erectile dysfunction.6 Endothelial dysfunction has been indicated as the pathophysiologic mechanism responsible for both CVD and ED.7 The Boston Area Community Health survey demonstrated a dose-response between smoking and incidence of erectile dysfunction.8 Animal studies have demonstrated both smooth-muscle disruption and decreased production of neural nitric oxide synthase in cigarette-exposed animals.9
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.
The vascular processes that produce an erection are controlled by the nervous system and certain prescription medications may have the side effect of interfering with necessary nerve signals. Among the possible culprits are a variety of stimulants, sedatives, diuretics, antihistamines, and drugs to treat high blood pressure, cancer, or depression. But never stop a medication unless your doctor tells you to. In addition, alcohol, tobacco, and illegal drugs, such as marijuana, may contribute to the dysfunction.
There are relatively few contraindications to the use of vacuum devices. Some conditions can predispose to priapism or perhaps bleeding with constriction, such as sickle cell disease, polycythemia, and other blood dyscrasias. Patients taking anticoagulants can safely use vacuum constriction devices but need to accept a higher risk of bleeding (ecchymosis). Good manual dexterity is also needed to use the device; if manual dexterity is impaired, a willing sexual partner can learn to apply the device.
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.
ED is defined as the inability to achieve a full erection or the inability to maintain an erection adequate for sexual intimacy. Other types of sexual dysfunction such as premature ejaculation and low libido may occur; however, the most common and disruptive problem in men is ED. Although most men will experience periodic episodes of ED, these episodes tend to become more frequent with advancing age.
In a prospective study from the Prostate Cancer Prevention Trial database, Thompson et al reported that men presenting with ED had a significantly higher chance of developing a cardiovascular event over a 7-year follow-up period.  The hazard ratio was 1.45, which is in the range of risk associated with current smoking or a family history of MI.
There have been some studies to suggest that a placebo effect that improves ED may work for some men. One study found that men taking an oral placebo pill showed as much improvement in ED symptoms as men who took actual medication to improve ED. Conversely, men who were given therapeutic suggestions to improve ED did not see signs of symptom improvement.
This is one of many types of constricting devices placed at the base of the penis to diminish venous outflow and improve the quality and duration of the erection. This is particularly useful in men who have a venous leak and are only able to obtain partial erections that they are unable to maintain. These constricting devices may be used in conjunction with oral agents, injection therapy, and vacuum devices.
When you become aroused, your brain sends chemical messages to the blood vessels in the penis, causing them to dilate or open, allowing blood to flow into the penis. As the pressure builds, the blood becomes trapped in the corpora cavernosa, keeping the penis erect. If blood flow to the penis is insufficient or if it fails to stay inside the penis, it can lead to erectile dysfunction.
Does drinking water improve erectile dysfunction? Erectile dysfunction or ED is a common concern for men. Everyday factors, such as hydration levels, may affect a person's ability to get or maintain an erection. Drinking water may, therefore, help some men with ED. In this article, learn about the link between hydration and ED, and other factors that can cause ED. Read now
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. 
Lifestyle choices that impair blood circulation can contribute to ED. Smoking, excessive drinking, and drug abuse may damage the blood vessels and reduce blood flow to the penis. Smoking makes men with atherosclerosis particularly vulnerable to ED. Being overweight and getting too little exercise also contribute to ED. Studies indicate that men who exercise regularly have a lower risk of ED.