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
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. 
In a randomized double-blind, parallel, placebo-controlled trial, sildenafil plus testosterone was not superior to sildenafil plus placebo in improving erectile function in men with ED and low testosterone levels.  The objective of the study was to determine whether the addition of testosterone to sildenafil therapy improves erectile response in men with ED and low testosterone levels.
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.
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.
In this study, ED proceeded CVD in almost 70% of cases. Similarly, many men with ED have been found to have pre-existing CVD. A study by Vlachopoulos et al evaluated the incidence of asymptomatic CVD in 50 men with ED.22 These authors found that 19% of men with ED had asymptomatic CVD. Similarly, Mulhall and colleagues found that 20% of men presenting with ED and vascular insufficiency on penile duplex had asymptomatic CVD.23
Alprostadil may be delivered via the urethra in the form of a pellet (MUSE) (107). This form of therapy has been trialed in SCI men with intermediate success (108). Bodner trialed MUSE dose escalation in SCI men and found 1,000 μg to be the most effective dose. Several men had hypotension when a constriction ring was not used in conjunction with the MUSE therapy.
Medication — When a medication is the cause of the dysfunction, a change in the medication may help. Men and women with hormone deficiencies may benefit from hormone shots, pills, or creams. For men, drugs, including sildenafil (Viagra®), tadalafil (Cialis®), vardenafil (Levitra®, Staxyn®), and avanafil (Stendra®) may help improve sexual function by increasing blood flow to the penis.
The use of injection therapy requires being taught how to properly inject the medication, determination of the best dose, and monitoring for side effects. It is recommended that one inject on the side of the penis at the base and to alternate sides. Injection therapy should be used no more frequently than once every 24 hours. Individuals on blood thinners must be careful with use of injection therapy.
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.
Sexual stimulation causes the release of neurotransmitters from cavernosal nerve endings and relaxation factors from endothelial cells lining the sinusoids. NOS produces NO from L-arginine, and this, in turn, produces other muscle-relaxing chemicals, such as cGMP and cyclic adenosine monophosphate (cAMP), which work via calcium channel and protein kinase mechanisms (see the image below). This results in the relaxation of smooth muscle in the arteries and arterioles that supply the erectile tissue, producing a dramatic increase in penile blood flow.
MSA is a neurodegenerative disease of undetermined etiology, where ED is an early prominent sign occurring in 40% of men at the time of diagnosis (46,47). ED occurs in the majority of patients and the exact cause of it is unknown (48). Like PD, MSA likely affects the dopaminergic pathways within the brain essential for arousal (49). Orthostatic hypotension (OH) as a causal factor has been refuted by evidence that sildenafil can overcome reduced filling pressures, and the ED usually precedes the development of OH (46,49,50). Similar to other neurologic disorders that lead to ED, other disease related factors such as psychosocial stress, the burden of chronic illness, changed appearance, fatigue, decreased fine motor movement of fingers, immobility and diminished self-esteem due to loss of independence may contribute as well (51).
In rare cases, the drug Viagra ® can cause blue-green shading to vision that lasts for a short time. In rare cases, the drug Cialis® can cause or increase back pain or aching muscles in the back. In most cases, the side effects are linked to PDE5 inhibitor effects on other tissues in the body, meaning they are working to increase blood flow to your penis and at the same time impacting other vascular tissues in your body. These are not ‘allergic reactions'.