When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.
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.
Using the correct size of tension ring is critical in obtaining the best possible result from this type of treatment. If the ring is too tight, it can be uncomfortable. If too large a ring is used, the erection may not last. The tension ring should not be left in place longer than 30 minutes. Leaving the ring in place for longer than 30 minutes can cause damage to the penis and further aggravate the cause of the erectile dysfunction.
A vacuum constriction device (left) is a cylinder that is placed over the penis. The air is pumped out of the cylinder, which draws blood into the penis and causes an erection. The erection is maintained by slipping a band off of the base of the cylinder and onto the base of the penis. The band can stay in place for up to 30 minutes. The vacuum device can be safely used to treat most causes of erectile failure. Lack of spontaneity, discomfort, and cumbersomeness of the device seem to be the biggest concerns of patients.
I would think the 25% is just an average. Some men never have a problem with erections. Some healthy men in their 60's never have a problem with their erections -- no Viagra needed at all, thank you. And, no, it is NOT completely associated with age. In fact, many men in their 40's and even younger, are already dealing with ED, especially if they smoke, are obese, don't exercise, or are addicted to porn, among other things. In fact, even men in their 20's and 30's can have these problems.
Diabetes is a well-recognized risk factor for ED. A systematic review and meta-analysis found that the prevalence of ED was 37.5% in type 1 diabetes, 66.3% in type 2 diabetes, and 52.5% in diabetes overall—a rate approximately 3.5 times higher than that in controls.  The etiology of ED in diabetic men probably involves both vascular and neurogenic mechanisms. Evidence indicates that establishing good glycemic control can minimize this risk.
In one study, 9.6% reported ‘occasional’ erectile dysfunction, 8.9% reported erectile dysfunction occurring ‘often’, and 18.6% reported erectile dysfunction occurring ‘all the time’. Of these, only 11.6% had received treatment.In another study, only 14.1% of men reported that they had received treatment, despite experiencing erectile dysfunction for longer than 12 months.
There are many effective treatments for impotence. The most popular is a class of drugs called phosphodiesterase type 5 (PDE5) inhibitors. These include sildenafil (Viagra), vardenafil (Levitra), tadalafil (Cialis) and avanafil (STENDRA). These drugs are taken in pill form. They work in most men. But they are less effective in men with neurological causes of impotence.
Causes of impotence are many and include heart disease, high cholesterol, high blood pressure, obesity, metabolic syndrome, Parkinson's disease, Peyronie's disease, substance abuse, sleep disorders, BPH treatments, relationship problems, blood vessel diseases (such as peripheral vascular disease and others), systemic disease, hormonal imbalance, and medications (such as blood pressure and heart medications).
If you can't take one of these oral medications, your physician may have you try Caverject (alprostadil for injection), a hormone that you inject into your penis using a fine needle, or Muse (alprostadil urogenital), a tiny suppository that you insert into the tip of the penis. Both of these will bring on an erection within five to 15 minutes without sexual stimulation.
Ultrasound with Doppler imaging (ultrasound plus evaluation of blood flow in the arteries and veins) can provide additional information about blood flow of the penis and may help in the evaluation of patients prior to surgical intervention. This study is typically performed after the injection of a chemical that causes the arteries to open up, a vasodilator (prostaglandin E1), into the corpora cavernosa in order to cause dilation of blood vessels and promote blood flow into the penis. The rate of blood flow into the penis can be measured along with an evaluation of problems with compression of the veins.
In a prospective study from the Prostate Cancer Prevention Trial database, Thompson et al reported that men presenting with ED had a significantly higher chance of developing a cardiovascular event over a 7-year follow-up period.  The hazard ratio was 1.45, which is in the range of risk associated with current smoking or a family history of MI.
Adverse effects related to PDE5i use with mild-moderate and transient (58). Furthermore, side effects usually attenuate if use is not discontinued. Autonomic dysreflexia, a life-threatening phenomenon characterized by bradycardia, hypertension, facial flushing and headaches associated with SCI lesions above T6, has not been reported with use. However, hypotension leading to dizziness in individuals treated with sildenafil has been noted with high thoracic and cervical levels of injury (72). No adverse events were noted within the study; however, the dizziness was reported by use of sildenafil 50 mg in the cervical LOI and 100 mg in the thoracic LOI patients. Headache is the most reported side effect of all PDE5i, followed by dyspepsia and flushing. Priapism, and death have not been reported after use of PDE5i by SCI patients.
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.