The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
Erectile dysfunction (previously called impotence) is the inability to get or maintain an erection that is sufficient to ensure satisfactory sex for both partners. This problem can cause significant distress for couples. Fortunately more and more men of all ages are seeking help, and treatment for ED has advanced rapidly. The enormous demand for “anti-impotence” drugs suggests that erection problems may be more common than was previously thought. Find out more about the causes and treatment of erectile dysfunction here.
As men age they require more stimulation up front to get and maintain an erection firm enough for sex. Engaging in some foreplay either on you or on your partner is a great way to get your arousal levels up and get an erection that is firm enough for sex. Many men begin to rush the process of sex once they experience ED. They worry that they will lose their erection so they rush rather than go slow understanding that rushing will only make the problem worse.
Oral PDE5i remains the first line treatment for NED from SCI. Three of the four PDE5i currently available in the U.S., avanafil excluded, have been investigated in the SCI, and all of the more recent studies have shown improvements in erectile function based on IIEF score compared to placebo when included (59-63). Other studies have also shown significant improvements in the IIEF score when compared to baseline (64-69). Furthermore, treatment efficacy when compared to placebo occurs despite LOI or American Spinal Injury Association (ASIA) score characterizing impairment related to the injury (59,61).
ED usually has a multifactorial etiology. Organic, physiologic, endocrine, and psychogenic factors are involved in the ability to obtain and maintain erections. In general, ED is divided into 2 broad categories, organic and psychogenic. Although most ED was once attributed to psychological factors, pure psychogenic ED is in fact uncommon; however, many men with organic etiologies may also have an associated psychogenic component.
"For men who are unwilling or unable to self-inject alprostadil, the FDA has approved this dissolvable pellet that can be inserted directly into the urethra, the opening of the penis," says Dr. Feloney. MUSE, with an inspiring name that actually stands for medicated urethral system for erection, will trigger an erection in about 10 minutes that may last as long as an hour. Using MUSE to treat ED can result in somewhat unpleasant side effects, however — including an aching sensation, burning, redness, and minor bleeding.
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. 
A variety of lifestyle choices can affect the ability to achieve and maintain an erection, so preventing ED is possible in some cases. Men are encouraged to manage chronic health problems with their doctors and to exercise regularly. They also should avoid smoking and excess alcohol and get help for anxiety or depression, according to the Mayo Clinic.
The phrase “use it before you lose it” can be applied when it comes to helping men with ED regain normal erectile function. Pelvic exercises, more commonly known as kegel exercises, are used to promote urinary continence and sexual health. They help to strengthen the bulbocavernosus muscle, which does three things: allows the penis to engorge with blood during erection, it pumps during ejaculation, and it helps empty the urethra after urination, according to Healthline.
The physical examination can reveal clues for physical causes of erectile dysfunction. A doctor will perform an assessment of BMI and waist circumference to evaluate for abdominal obesity. A genital examination is part of the evaluation of erectile dysfunction. The examination will focus on the penis and testes. The doctor will ask you about penile curvature and will examine the penis to see if there are any plaques (hard areas) palpable. The doctor will examine the testes to make sure they are in the proper location in the scrotum and are normal in size. Small testicles, lack of facial hair, and enlarged breasts (gynecomastia) can point to hormonal problems such as hypogonadism with low testosterone levels. A health care provider may check pulses in your groin and feet to determine if there is a suggestion of hardening of the arteries that could also affect the arteries to the penis.
Some injectable formulations need to be refrigerated — yet another reason many men steer away from the needle option. Among ED treatments, injections are also the most common cause of extended erections — rigidity lasting more than four hours, also called priapism — which afflict about 3 to 7 percent of users, Kohler says. That condition, while easily treated with an adrenaline shot, requires urgent attention at a clinic or hospital. The cost of this ED treatment is $2 to $5 per injection.
Alprostadil is injected into the side of penis with a very fine needle. It's of great value to have the first shot in the doctor's office before doing this on your own. Self-injection lessons should be given in your doctor's office by an experienced professional. The success rate for getting an erection firm enough to have sex is as high as 85% with this treatment. Many men who do not respond to oral PDE5 inhibitors can be ‘rescued' with ICI.