You can also consider using a cock ring or penis ring if you are able to get an erection but have trouble maintaining it.  Cock rings work by trapping the blood inside your penis so it remains harder for longer.  You can purchase one in a sex store or online for about $5 and you put in on over your penis and testicles when you are half hard and keep it on until you are finished with sex.  It’s a great cheap fix for erectile issues.
Impotence, or erectile dysfunction, is the inability of a male to attain and keep an erection sufficiently firm to engage in or complete sexual intercourse. Although it is more common in older men, impotence can occur at any age. Impotence is not a normal consequence of aging. About 70% of erectile dysfunction is due to diseases such as diabetes and atherosclerosis, another 10% to 20% is due to psychological factors, and the remaining percentage is related to medications, lifestyle factors, and injury (Source: NIDDK).
Penile prosthesis is the primary form of surgical therapy and is reserved for those men who fail, are intolerant of, or have contraindications to other forms of therapy. Currently, there are several different types of penile prostheses. The simplest is the malleable penile prosthesis, and the most complex is the three-piece inflatable penile prosthesis.
Occasional successful sexual function and early morning erections do not preclude the possibility of endocrine dysfunction. Since abnormally low levels of testosterone frequently are the primary cause of impotence, it is recommended that determination of the blood level of testosterone be an integral part of the total evaluation of the impotent patient.
There are many different body parts that play an important role for a man to get and maintain an erection during sexual intercourse. Beyond the physical causes that can lead to ED, it has been reported that 20% of ED is related to psychological causes.2 With so many possibilities leading to erectile dysfunction, it becomes particularly important to find a specialist who can correctly diagnosis the direct cause of your ED and find a treatment option that is right for you.
"Erectile dysfunction can be a very serious issue because it's a marker of underlying cardiovascular disease, and it often occurs before heart conditions become apparent. Therefore, men should consider improving their weight and overall nutrition, exercise more, drink less alcohol and have a better night's sleep, as well as address risk factors such as diabetes, high blood pressure and cholesterol.

Following a detailed discussion about the history of erectile dysfunction and its risk factors, your doctor will examine the testicles and penis to help determine the cause of erectile dysfunction. Your doctor will check reflexes and pulses in the area to see if problems with blood vessels or nerves are contributing to the erectile dysfunction. If necessary, your doctor will order tests to help diagnose erectile dysfunction.
The Latin term impotentia coeundi describes simple inability to insert the penis into the vagina; it is now mostly replaced by more precise terms, such as erectile dysfunction (ED). The study of ED within medicine is covered by andrology, a sub-field within urology. Research indicates that ED is common, and it is suggested that approximately 40% of males experience symptoms compatible with ED, at least occasionally.[38] The condition is also on occasion called phallic impotence.[39] Its antonym, or opposite condition, is priapism.[40][41]
PD is a chronic neurodegenerative disease characterized by “motor” and “non-motor” symptoms that lead to progressive disability. Erectile and SD are “non-motor” symptoms and can occur in 50–69% of males with PD (39-42). Ejaculatory and orgasmic function are also impaired. PD affects the dopaminergic pathways leading to erection and arousal. Dopaminergic therapy for PD can improve ED, and sometimes therapy may lead to hypersexuality (43,44). A comparison of married men with PD to age matched controls with non-neurologic chronic disease such as arthritis did not show any discrepancy in ED rates (45). This suggests that ED in certain groups with PD may occur from disease related factors common in chronic illness, in general.
As blood flows into the penis, the corpora cavernosa swell, and this swelling compresses the veins (blood vessels that drain the blood out of the penis) against the tunica albuginea. Compression of the veins prevents blood from leaving the penis. This creates a hard erection. When the amount of cGMP decreases by the action of a chemical called phosphodiesterase type 5 (PDE5), the muscles in the penis tighten, and the blood flow into the penis decreases. With less blood coming into the penis, the veins are not compressed, allowing blood to drain out of the penis, and the erection goes down.
Tadalafil (Cialis) is the third oral medicine approved by the U.S. FDA for the treatment of erectile dysfunction. Like sildenafil (Viagra) and vardenafil (Levitra), tadalafil inhibits PDE5 (as described earlier). Unlike the other PDE 5 inhibitors, patients should take tadalafil once daily and is approved for the treatment of BPH (benign enlargement of the prostate).
ICI therapy often produces a reliable erection, which comes down after 20-30 minutes or with climax. Since the ICI erection is not regulated by your penile nerves, you should not be surprised if the erection lasts after orgasm. The most common side effect of ICI therapy is a prolonged erection. Prolonged erections (>1 hour) can be reversed by a second injection (antidote) in the office.
×