Alprostadil is an FDA-approved erectile dysfunction drug that can be injected directly into the penis to trigger an automatic erection. "Penile injection is the most effective type of ED treatment for men who can't take oral treatment," says Nelson Bennett, MD, a urologist at the Lahey Clinic in Burlington, Mass. In fact, it has an 85 percent success rate. Possible side effects include a burning sensation and priapism, an erection that lasts more than four hours and requires medical treatment.
Medical conditions, such as hypertension, diabetes mellitus, and cardiovascular disease (CVD), and psychological conditions, such as depression and anxiety, also contribute to sexual dysfunction in middle-aged or elderly men. CVD and hypertension cause a narrowing and hardening of the arteries, leading to reduced blood flow to the corporal bodies, which is essential for achieving an erection. Diabetes is a common aetiology of sexual dysfunction, because it can affect both the blood vessels and the nerves that supply the penis. Men with diabetes are four times more likely to experience ED, and on average, experience ED 15 years earlier than men without diabetes.7 Obesity is also correlated to the development of several types of dysfunction, including a decrease in sex drive and an increase in episodes of ED.8
Learn more about sex. If you have deep-rooted anxieties or guilt related to sex, these negative emotions might be causing your ED. Learning more about sex can be a good way to feel more comfortable with your body and better understand your needs in bed. Read up on sex techniques or take a sex-positive workshop as a way to open your mind to new possibilities and increase your comfort level.
Moemen et al. compared the effectiveness and satisfaction associated with use of several ED therapies including sildenafil alone, intracavernosal injections (ICI) followed by sildenafil after ICI discontinuation and vacuum erections devices (VED) followed by sildenafil therapy after VED discontinuation (60). Seventy percent of men receiving vasoactive medications preferred sildenafil to ICI, even though rigidity was superior in the ICI group. All men using VEDs were dissatisfied with that form of therapy.
Performance anxiety can be another cause of impotence. If a person wasn’t able to achieve an erection in the past, he may fear he won’t be able to achieve an erection in the future. A person may also find he can’t achieve an erection with a certain partner. Someone with ED related to performance anxiety may be able to have full erections when masturbating or when sleeping, yet he isn’t able to maintain an erection during intercourse.
Exercise your pelvic floor. The pelvic floor helps the penis stay hard during erections by pressing on a vein that keeps blood from leaving until the erection is over. Men who exercise their pelvic floor have better results than those who rely solely on lifestyle changes to correct erectile dysfunction. Perform Kegel exercises to strengthen the muscle.
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.
Erectile dysfunction or ED (It used to be called impotence) is the inability to achieve or sustain an erection suitable for sexual intercourse. Problems with erections may stem from medications, chronic illnesses, poor blood flow to the penis, drinking too much alcohol, or being too tired. Erectile dysfunction can occur at any age, but it is more common in men older than 75.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
A vacuum erection device is a plastic tube that slips over the penis, making a seal with the skin of the body. A pump at the other end of the tube makes a low-pressure vacuum around the erectile tissue, which results in an erection. An elastic ring is then slipped onto the base of the penis. This holds the blood in the penis (and keeps it hard) for up to 30 minutes. With proper training, 75 out of 100 men can get a working erection using a vacuum erection device.