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.
Sexual dysfunction is highly prevalent in men and women. In the MMAS, 52% of the respondents reported some degree of erectile difficulty. Complete ED, defined as (1) the total inability to obtain or maintain an erection during sexual stimulation and (2) the absence of nocturnal erections, occurred in 10% of the respondents. Mild and moderate ED occurred in 17% and 25% of responders, respectively. 
Although not proven, it is likely that erectile dysfunction can be prevented by good general health, paying particular attention to body weight, exercise, and cigarette smoking. For example, heart disease and diabetes are problems that can cause erectile dysfunction, and both are preventable through lifestyle changes such as sensible eating and regular exercise. Furthermore, early diagnosis and treatment of associated conditions like diabetes, hypertension and high cholesterol may prevent or delay erectile dysfunction, or stop the erectile dysfunction from getting more serious.
One must be very careful using both PDE5 inhibitors and medications commonly used to treat an enlarged prostate, alpha-blockers (for example, tamsulosin [Flomax], terazosin [Hytrin]). It is recommended that one be on a stable dose of the alpha-blocker prior to starting a PDE5 inhibitor and that one start on a low dose of the PDE5 inhibitor and increase as tolerated and needed to treat the erectile dysfunction. Similarly, if you are on a PDE5 inhibitor and your doctor recommends that you start an alpha-blocker for your prostate, you should start at a low dose and increase as tolerated and needed to treat your prostate symptoms.
Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
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.
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.
Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in all men and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
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).
Tadalafil shares the common side effects of the PDE5 inhibitors, however, due to its effect on PDE11, another phosphodiesterase located in muscle, tadalafil has been associated with muscle aches. Back pain and muscle aches occur in less than 7% of men taking tadalafil and in most patients will go away without treatment within 48 hours. When treatment was necessary, acetaminophen (Tylenol) and nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen (Motrin, Advil) or naproxen (Aleve) were effective. Rarely do the muscle aches and back pain cause men to stop using tadalafil.
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.