Surgical intervention for a number of conditions may remove anatomical structures necessary to erection, damage nerves, or impair blood supply. Erectile dysfunction is a common complication of treatments for prostate cancer, including prostatectomy and destruction of the prostate by external beam radiation, although the prostate gland itself is not necessary to achieve an erection. As far as inguinal hernia surgery is concerned, in most cases, and in the absence of postoperative complications, the operative repair can lead to a recovery of the sexual life of people with preoperative sexual dysfunction, while, in most cases, it does not affect people with a preoperative normal sexual life.
To find studies on the link between meditation and erectile dysfunction (ED) you have to go way back. A 1977 study by Gerard V Sunnen at New York University on nine men with a mean age of 32 found that as little as two 15 minute sessions of meditation a day transformed the men so that all but two of them could achieve "erectile competence." The study worked by training the men how to deflect negative thought patterns from their mind through meditation.
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.
Guilt is a painful and gut-wrenching emotion. It is identified in this article as one of the possible causes of psychological impotence. If your guilt is strong enough, it interrupts the signals between your brain and body, stopping you from getting an erection. It’s almost as if the unconscious mind punishes you by denying you pleasure in response to the guilt that you feel.
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.
It is important for clinicians prescribing these drugs to make the patient aware of the action of the drugs especially the fact that they do not result in an immediate erection, and that they do not cause an erection without sexual stimulation. There is frequently a great expectation when men begin using these drugs and it is wise to temper their enthusiasm and explain they do not work immediately, and may not work every time, but also let the patient know that if these drugs do not work, there are other options.
Surgery: If neither drugs nor the vacuum pump works, your doctor may suggest surgery. With surgery, the doctor can place a device in your penis that will cause enough hardness for intercourse. In a few cases, infections may develop after the operation, and the doctor may have to remove the device. Another operation that may help you is rebuilding the blood vessels in the penis to increase blood flow into the penis or decrease blood flow out of the penis. These procedures can help you to get and maintain an erection.
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.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
The Food and Drug Administration (FDA) does not recommend alternative therapies to treat sexual dysfunction. Many products are advertised as "herbal viagra" or "natural" sexual enhancement products, but no clinical trials or scientific studies support the effectiveness of these products for the treatment of ED, and synthetic chemical compounds similar to sildenafil have been found as adulterants in many of these products. The FDA has warned consumers that any sexual enhancement product that claims to work as well as prescription products is likely to contain such a contaminant.
Erectile dysfunction in younger men, unless they're diabetic or have suffered some unusually cruel injury, is generally caused by stress, rather than any physical condition. High levels of cortisol or adrenaline (both byproducts of stress) in the body stymie the supply of oxygen to the organs, thereby decreasing blood flow to the penis. And the penis without blood has as much chance of getting up as a balloon without air. Which is why I found it easier to have sex with people I wasn't emotionally invested in: Once the fear of rejection is removed, sex is no big deal.
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.
Some men report being helped by an oral medication called yohimbine, which comes from the bark of a tree that grows in India and Africa. This drug, which needs to be taken every day, has been reported to help about 20 to 25 percent of the men taking it. A relatively new but widely used oral medication called Viagra requires a careful medical evaluation by your doctor.