A physical cause can be identified in about 80% of cases. These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases. In psychological impotence, there is a strong response to placebo treatment.
For obvious reasons, ED can be a sensitive subject, one that until relatively recently men were more likely to try to hide than to deal with. Fortunately, a deeper understanding of the variety of causes of erectile dysfunction has led to medications, therapies, and other treatments that can be more individualized and more likely to be effective—and more open discussion about addressing the concern.
The most common inflatable prosthesis is the three-piece penile prosthesis. It is composed of paired cylinders, which doctors surgically insert inside the penis. Patients can expand the cylinders using pressurized fluid (see figure 3). Tubes connect the cylinders to a fluid reservoir and pump, which doctors also surgically implant. The reservoir is usually in the pelvis. A doctor places the pump in the scrotum. By pressing on the pump, sterile fluid transfers from the reservoir into the cylinders in the penis. An erection is produced primarily by expansion of the width of the penis, however, one model can increase in length a small amount also. Lock-out valves in the tubing prevent the fluid from leaving the cylinder until a release valve is pressed. By pressing the relief valve and gently squeezing the penis, the fluid within the cylinders transfers back into the reservoir.
Some self-administered measures may be useful in the primary care setting to screen for and evaluate the degree of ED.12 The most commonly used instrument is the International Index of Erectile Function, a 15-item questionnaire that has been validated in many populations and is considered the gold standard to evaluate patients for ED.13 The Sexual Health Inventory for Men is a short-form, 5-item questionnaire developed to monitor treatment progress.12 It is important to recognize that short-form questionnaire does not evaluate specific areas of the sexual cycle, such as sexual desire, ejaculation, and orgasm; however, it may be useful in discussing ED with patients and evaluating treatment results over time.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
All studies demonstrate a strong association with age, even when data are adjusted for the confounding effects of other risk factors. The independent association with aging suggests that vascular changes in the arteries and sinusoids of the corpora cavernosa, similar to those found elsewhere in the body, are contributing factors. Other risk factors associated with aging include depression, sleep apnea, and low HDL levels.
Penile injection therapy, intracavernous injection, involves the injection of a vasodilator (a chemical that relaxes arteries to increase blood flow) into the penis. Penile injected therapy is recognized as the most effective nonsurgical treatment for erectile dysfunction. However, due to the invasive nature, it is often used in men who have failed or have contraindications to other treatments such as oral therapies.
Erectile dysfunction - (ED) or impotence is sexual dysfunction characterized by the inability to develop or maintain an erection of the penis during sexual activity. A penile erection is the hydraulic effect of blood entering and being retained in sponge-like bodies within the penis. The process is most often initiated as a result of sexual arousal, when signals are transmitted from the brain to nerves in the penis.
The observation that TRT enhances the efficacy of PDE5 inhibitors in hypogonadal men taking these therapies with suboptimal response to the PDE5 inhibitors alone has been reported.33 In addition, investigators have demonstrated that TRT in hypogonadal men can improve erectile function even without the benefit of PDE5 inhibitors.33 In addition, guidelines for managing ED in hypogonadal men by the European Association of Urology recommend controlling the man to a eugonadal state prior to initiation of PDE5 inhibitor therapy.36 Testosterone measurement consists of a serum specimen which should be ideally obtained in the morning because of the normal diurnal variation of testosterone which is at its peak in the morning. Since TRT is relatively safe, and men can potentially see an improvement in erectile function, it seems prudent to consider this issue when presented with a patient suffering from ED.
The first stem cell study for the treatment of ED was published in 2004. This study used embryonic stem cells to treat ED. At this time, there is a total of 36 published basic studies assessing stem cell therapy for ED, with two clinical trials. The mechanism of action of stem cells is to generate angiogenesis with subsequent increase in cavernosal smooth muscle cells within the corporal bodies.46
Moemen et al. compared the effectiveness and satisfaction associated with use of several ED therapies including sildenafil alone, intracavernosal injections (ICI) followed by sildenafil after ICI discontinuation and vacuum erections devices (VED) followed by sildenafil therapy after VED discontinuation (60). Seventy percent of men receiving vasoactive medications preferred sildenafil to ICI, even though rigidity was superior in the ICI group. All men using VEDs were dissatisfied with that form of therapy.
Erections are neurovascular events, meaning that nerves and blood vessels (arteries and veins) are involved in the process of an erection and all must work properly to develop a hard erection that lasts long enough. Erection begins with sexual stimulation. Sexual stimulation can be tactile (for example, by a partner touching the penis or by masturbation) or mental (for example, by having sexual fantasies, viewing porn). Sexual stimulation or sexual arousal causes the nerves going to the penis to release a chemical, nitric oxide. Nitric oxide increases the production of another chemical, cyclic GMP (cGMP), in the muscle of the corpora cavernosa. The cGMP causes the muscles of the corpora cavernosa to relax, and this allows more blood to flow into the penis. The incoming blood fills the corpora cavernosa, making the penis expand.
One study by Palmer and colleagues evaluated sildenafil use in SB males with thoracic lesions (76). A prospective, blinded, randomized, placebo-controlled, dose-escalation, crossover study in 17 patients with SB and ED was performed. All study participates took sets of tablet in groups, two sets of placebo, one of 25 mg, and the last 50 mg. Overall response to the tablet sets was measured by IIEF response and self-report of erectile rigidity. Patients reported that taking 50 mg of sildenafil led to improved erections, duration of erections, frequency of erections and level of confidence compared to sildenafil 25 mg and more significantly compared to placebo. Of the five patients who reported side effects, two experienced mild hematological changes that reverted to baseline after study completion.
Quitting smoking, exercising regularly, losing excess weight, curtailing excessive alcohol consumption, controlling hypertension, and optimizing blood glucose levels in patients with diabetes are not only important for maintaining good health but also may improve or even prevent progression of erectile dysfunction. It is unclear if such lifestyle changes can reverse erectile dysfunction. However, lifestyle improvements may prevent progression of the erectile dysfunction. Some studies suggest that men who have made lifestyle improvements experience increased rates of success with oral medications.
According to whom? What's the source of your statistic? Because it sounds astonishingly high, for me to get erections and then lose them. If what you are talking about is men not being able to get erections, why don't you be honest and say that normally this is completely associated with age (say, over-60, and especially over 75), and that the Viagra-class of medications is the simplest and easiest response.
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.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.