Erectile dysfunction is often assumed to be a natural concomitant of the aging process, to be tolerated along with other conditions associated with aging. This assumption may not be entirely correct. For the elderly and for others, erectile dysfunction may occur as a consequence of specific illnesses or of medical treatment for certain illnesses, resulting in fear, loss of image and self-confidence, and depression.
Phosphodiesterase inhibitors: This class of medications includes sildenafil, tadalafil, and vardenafil. They work by inhibiting an enzyme called phosphodiesterase type 5 (PDE-5), allowing more blood to enter the penis and helping to produce an erection. These medications are often taken before sex and will cause an erection only when the man is sexually stimulated.
Most bouts of ED can be explained away by stress, anxiety, or nervousness. If erectile dysfunction becomes frequent, don’t panic, but cover your bases by seeing a doctor to rule out scarier causes like diabetes or prostate cancer. Medications like antidepressants can also cause boner loss. Unless you can’t get it up after a date because you spent the day snorting coke and fucking your ex (in which case figure some shit out before you see other people) this line places the blame on the stress of work and away from your partner. While a woman will usually be understanding, she may fear you can’t get hard because you’re not attracted to her. Ease these anxieties with this line. Even if work was great and you’re having trouble getting it up because of other stress, like a text from an ex or family shit you’re not ready to disclose, I’ll allow a little white lie in this instance.
This is similar to magnetic resonance imaging. Magnetic resonance angiography uses magnetic fields and radio waves to provide detailed images of the blood vessels. Doctors may inject a "contrast agent" into the patient's bloodstream that causes vascular tissues to stand out against other tissues. The contrast agent provides for enhanced information regarding blood supply and vascular anomalies.
Research is mixed on the effectiveness of acupuncture as an erectile dysfunction cure, but one study published in November 2013 in the Journal of Alternative and Complementary Medicine found that acupuncture can be beneficial for men experiencing erectile dysfunction as a side effect of antidepressants, including selective serotonin reuptake inhibitors (SSRIs) and serotonin noradrenaline reuptake inhibitors (SNRIs).
Implantable penile prostheses are usually considered a last resort for treating impotence. They are implanted in the corpora cavernosa to make the penis rigid without the need for blood flow. The semirigid type of prosthesis consists of a pair of flexible silicone rods that can be bent up or down. This type of device has a low failure rate but, unfortunately, it causes the penis to always be erect, which can be difficult to conceal under clothing.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
In some cases, ED can be a warning sign of more serious disease. One study suggests ED is a strong predictor of heart attack, stroke, and death from cardiovascular disease. The researchers say all men diagnosed with ED should be evaluated for cardiovascular disease. This does not mean every man with ED will develop heart disease, or that every man with heart disease has ED, but patients should be aware of the link.