Alprostadil injections, which produce an erection in five to 20 minutes that lasts for about an hour. Patients use a fine needle to inject alprostadil (commonly known by the brand names Caverject Impulse and Edex) into the base or side of the penis. Side effects can include bleeding or fibrous tissue formation at the injection site as well as prolonged erection, according to the Mayo Clinic.
A number of herbs have been promoted for treating impotence. The most widely touted herbs for this purpose are Coryanthe yohimbe (available by prescription as yohimbine, with the trade name Yocon) and gingko (Gingko biloba), although neither has been conclusively shown to help the condition in controlled studies. In addition, gingko carries some risk of abnormal blood clotting and should be avoided by men taking blood thinners such as coumadin. Other herbs promoted for treating impotence include true unicorn root (Aletrius farinosa), saw palmetto (Serenoa repens), ginseng (Panax ginseng), and Siberian ginseng (Eleuthrococcus senticosus). Strychnos Nux vomica has been recommended, especially when impotence is caused by excessive alcohol, cigarettes, or dietary indiscretions, but it can be very toxic if taken improperly, so it should be used only under the strict supervision of a physician trained in its use.
Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in all men and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
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.
Psychological factors — Psychological issues such as depression, anxiety, guilt or fear can sometimes cause sexual problems. At one time, these factors were thought to be the major cause of impotence. Doctors now know that physical factors cause impotence in most men with the problem. However, embarrassment or "performance anxiety" can make a physical problem worse.
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.