It is important to understand that ED is frequently, if not usually, directly related to endothelial dysfunction, and that the release of NO by the vasculature of the penile arteries is directly related to the function of intact, healthy endothelium. In the face of endothelial dysfunction, the process of erection fails to occur in a normal fashion.16
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
Meditation is known to lower the heart rate and regulate blood flow around the body, which bodes well for ED sufferers, as what's an erection if not a big gathering of blood? Meditation has also been shown to reduce anxiety and change negative thought associations. Sara Lazar, a neuroscientist at Harvard, was one of the first people to scan meditators' brains and discovered that the amygdala, the part of the brain where anxiety calls home, was smaller for meditators than the control group.
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
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
These oral medications reversibly inhibit penile-specific PDE5 and enhance the nitric oxide–cGMP pathways of cavernous smooth muscle relaxation; that is, all prevent the breakdown of cGMP by PDE5. It is important to emphasize to patients that these drugs augment the body’s natural erectile mechanisms, therefore the neural and psychoemotional stimuli typically needed for arousal still need to be activated for the drugs to be efficacious.
The role of the endothelium in erectile function became clearer with the observation that the phosphodiesterase type 5 (PDE5) inhibitor, sildenafil, enhanced erectile function. Erection occurs with the release of nitric oxide (NO) from the vascular endothelial cells.17 The reduction in endothelial cell production of NO results in the negative impact on the smooth muscles in the corporal bodies and results in less relaxation of the smooth muscle cells with decrease in blood supply and resulting ED. A similar phenomenon is well known to impact the coronary arterial system resulting in CVD.
The sympathetic pathway originates from the 11th thoracic to the 2nd lumbar spinal segments and goes via the white rami to enter the sympathetic chain ganglia. Subsequently nerves travel through the lumbar splanchnic to inferior mesenteric and superior hypogastric nerves to the pelvic plexus. The T10 through T12 segments are most often the origin of sympathetic fibers, and the sympathetic chain ganglia that innervate the penis are located in the sacral and caudal ganglia (3).
It is common for a healthy older man to still want sex and be able to have sex within appropriate limitations. Understanding what is normal in older age is important to avoid frustration and concern. Older men and their partners often value being able to continue sexual activity and there is no age where the man is ‘too old’ to think about getting help with his erection or other sexual problems.
If you bike a lot and have a very narrow saddle on your bicycle, consider switching to a "no-nose seat" which is wider at the back than a conventional saddle, allowing more of your weight to be distributed to the sitting bones. Make sure the seat is level or angled slightly downward and at a height that allows your knee to be just slightly bent at the bottom of the pedal cycle. Raising the handlebars on your bike so that you're sitting upright may also help.
There are hundreds of medications that have the side effect of ED and/or decreased libido. Examples of drugs implicated as a cause of ED include hydrochlorothiazides and beta-blocking agents. Medications used to treat depression, particularly the SSRIs such as citalopram (Celexa), escitalopram (Lexapro), fluoxetine (Prozac, Prozac Weekly, Sarafem), fluvoxamine (Luvox, Luvox CR), paroxetine (Paxil, Paxil CR, Pexeva) and sertraline (Zoloft), may also contribute to ED.9 Bupropion (Wellbutrin) which has a predominant effect on blocking the reuptake of dopamine is an antidepressant with lower incidence of ED.10 The side effects of 5ARIs occurring in fewer than 5% of patients can include gynaecomastia, ED, loss of libido and ejaculatory dysfunction.11
Associated morbidity may include various other male sexual dysfunctions, such as premature (early) ejaculation and male hypoactive sexual desire disorder. The NHSLS found that 28.5% of men aged 18-59 years reported premature ejaculation, and 15.8% lacked sexual interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% had a lack of pleasure in sex. 
Finally, gene therapy and stem cell research has widened the frontier of ED treatment proposed as possibility to even reverse ED. Specifically, gene therapy pertains to repairing the cause of ED by restoring defective gene function and/or altering the expression of the mutant gene (32). Most of the available data on gene therapy are in the animal model. However, a phase I clinical trial in men with ED undergoing intracavernous injection with a DNA plasmid carrying the alpha-subunit of the corporal smooth muscle Maxi-K channel showed promise in increased erectile function based on IIEF assessment sustained throughout the 3-month study period (122).
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.
However, a review of a United Kingdom medical record database found no evidence that the use of 5-alpha reductase inhibitors independently increase the risk for ED. In 71,849 men with benign prostatic hyperplasia (BPH), the risk of ED was not increased with the use of finasteride or dutasteride only (odds ratio [OR] 0.94), or a 5-alpha reductase inhibitor plus an alpha blocker (OR 0.92) compared with an alpha blocker only. In addition, the risk of ED was not increase in 12 346 men prescribed finasteride 1 mg for alopecia, compared with unexposed men with alopecia (OR 0.95). The risk of ED did increase with longer duration of BPH, regardless of drug exposure. 
The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.
Besides PDE5 inhibitors and among second-line therapies are VCDs which are clear plastic chambers placed over the penis, tightened against the lower abdomen with a mechanism to create a vacuum inside the chamber. This directs blood into the penis. If an adequate erection occurs inside the chamber, the patient slips a small constriction band off the end of the VCD and onto the base of the penis. An erection beyond 30 min is not recommended. These devices can be a bit cumbersome, but are very safe.40
Parasympathetic pathways originate from the intermediolateral cell columns of the 2nd, 3rd and 4th sacral spinal cord segments. Preganglionic fibers pass through the pelvic plexus where they coalesce with sympathetic fibers from the superior hypogastric plexus. The cavernous nerves that innervate the penis arise from the portion of the pelvic plexus. The pelvic plexus also contains nerves that innervate the rectum, bladder and urinary sphincter and the nerve projections can be damaged during radical excision of the bladder, prostate and rectum, leading to iatrogenic ED (4).
While pills for ED are convenient, some men sustain stronger erections by injecting medication directly into the penis. Drugs approved for this purpose work by widening the blood vessels, causing the penis to become engorged with blood. Another option is inserting a medicated pellet into the urethra. The pellet can trigger an erection within 10 minutes.