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.
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
ED exists in approximately 75% of men with SB and is dependent upon the level of the neurologic lesion (54). The level of the neurologic lesions usually corresponds to sensation and penile sensation indicates pudendal nerve signaling. With absent sacral reflexes ED is variable. Furthermore, Diamond et al. reported that 64% of men with lesions below T10 obtained erections versus 14% with a lesion above T10 (55). It has also been suggested that ED may be underreported due to lack of sexual education even in men without associated cognitive impairment (56).
I suffered from sporadic limp dick in my 20s. It was usually when I was nervous because I was with a girl I actually liked. A doctor prescribed me Viagra. When I took it, my whole body went bright red, my nose became so congested that I had to breath through my mouth—almost impossible to do while kissing—and I stayed hard for an uncomfortably long nine hours.
Treatment depends on the underlying cause. In general, exercise, particularly of the aerobic type, is effective for preventing ED during midlife. Exercise as a treatment is under investigation.:6, 18–19 For tobacco smokers, cessation often results in a significant improvement. Oral pharmacotherapy and vacuum erection devices are first-line treatments,:20, 24 followed by injections of drugs into the penis, as well as penile implants.:25–26 Vascular reconstructive surgeries are beneficial in certain groups.
It is essential to discuss erectile dysfunction with your doctor, so any serious underlying causes can be excluded and treatment options can be discussed. Many men are embarrassed discussing this issue with their doctor, or even their partner. Open communication with your doctor, and in your relationship, is important for effectively managing this common problem.
Caution is recommended regarding the use of PDE-5 inhibitors and alpha-blockers (for example, Hytrin, Cardura, Uroxatral, Flomax, Rapaflo), medications commonly used to treat benign prostate enlargement (BPH). The combination of these medications can cause lowering of the blood pressure. Stable use of one therapy should occur prior to the addition of the other therapy, which should start at a low dose.
Research has even found possible links to frequent ejaculation and a lower risk of prostate cancer. In one study of 32,000 men published in 2016 in the journal European Urology, for example, men who ejaculated at least 21 times per month while in their 20s were less likely to be diagnosed with prostate cancer than those who ejaculated four to seven times per month. And men who ejaculated more often in their 40s were 22 percent less likely to get a prostate cancer diagnosis.
If it is determined that ED is a problem, the patient evaluation should include a detailed sexual and medical history and a physical exam. In particular, it is important to evaluate the ED within the context of ejaculatory problems. There is a strong interplay between premature ejaculation (PE) and ED, with about a third of ED patients reporting PE. The relationship between the PE and ED is bidirectional and successful treatment of one often requires treatment of the other.14
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.