Diabetes is an example of an endocrine disease that can cause a person to experience impotence. Diabetes affects the body’s ability to utilize the hormone insulin. One of the side effects associated with chronic diabetes is nerve damage. This affects penis sensations. Other complications associated with diabetes are impaired blood flow and hormone levels. Both of these factors can contribute to impotence.
Ultrasound with Doppler imaging (ultrasound plus evaluation of blood flow in the arteries and veins) can provide additional information about blood flow of the penis and may help in the evaluation of patients prior to surgical intervention. This study is typically performed after the injection of a chemical that causes the arteries to open up, a vasodilator (prostaglandin E1), into the corpora cavernosa in order to cause dilation of blood vessels and promote blood flow into the penis. The rate of blood flow into the penis can be measured along with an evaluation of problems with compression of the veins.
In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. 
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'.