Traditionally, erectile impotence (the classical definition of impotence) is the failure to achieve penile erection during intercourse. It may have either physical or psychological causes. Alcoholism, endocrine disease, and neurological disorders are typical physical causes. Psychological causes include anxiety over performance, hostility or other negative feelings toward the sexual partner, and stress, anxiety, depression, or other emotional conflicts outside of the relationship. Erectile impotence occasionally occurs with age and, although attributed by the individual to the aging process itself, it is usually secondary to disorders of aging, such as faulty blood circulation or prostate disease. In cases of impotence caused by blood vessel dysfunction, an insufficient supply of blood flows into the penis, or the blood diffuses out into adjacent tissues.
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.
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.
The severity of ED has been correlated with the extent of CVD. Banks et al reported that the risk of future CV events increased progressively according to ED severity.28 This was shown in both men with and without known CVD at baseline and after controlling for confounders. Solomon and colleagues found an inverse correlation between international index of erectile function (IIEF) scores and plaque burden seen on coronary angiography.29 In addition, Yaman et al demonstrated a significant correlation between ED severity on IIEF questionnaires and coronary artery calcification.30
Under normal circumstances, when a man is sexually stimulated, his brain sends a message down the spinal cord and into the nerves of the penis. The nerve endings in the penis release chemical messengers, called neurotransmitters, that signal the corpora cavernosa (the two spongy rods of tissue that span the length of the penis) to relax and fill with blood. As they expand, the corpora cavernosa close off other veins that would normally drain blood from the penis. As the penis becomes engorged with blood, it enlarges and stiffens, causing an erection. Problems with blood vessels, nerves, or tissues of the penis can interfere with an erection.
The penis is composed of three cylinders, two on the top and one on the underside of the penis. The top two cylinders are involved in the erectile process. The urethra, the tube that urine and semen pass through, is on the underside of the penis. The top two penile cylinders, the corpora cavernosa, are composed of tissue that is analogous to a sponge, containing spaces that can fill with blood and expand. These two cylinders are surrounding by a strong layer of tissue, like Saran wrap, the tunica albuginea. For an erection to occur, there must be properly functioning nerves, arteries, veins, and normal penile tissues.
The primary nerve fibers to the penis are from the dorsal nerve of the penis, a branch of the pudendal nerve. The cavernosal nerves are a part of the autonomic nervous system and incorporate both sympathetic and parasympathetic fibers. They travel posterolaterally along the prostate and enter the corpora cavernosa and corpus spongiosum to regulate blood flow during erection and detumescence. The dorsal somatic nerves are also branches of the pudendal nerves. They are primarily responsible for penile sensation. 
Counselling or sex therapy (58% of people find this works for them) –mind-related causes of erectile dysfunction can affect anyone. They are more likely if you experience erectile dysfunction at a younger age. Talking to a counsellor or therapist can help some people overcome erectile dysfunction related to these problems, possibly for good. They can also help you if your erectile dysfunction is causing you stress, as this can make matters worse.
Alteration of NO levels is the focus of several approaches to the treatment of ED. Inhibitors of phosphodiesterase, which primarily hydrolyze cGMP type 5, provided the basis for the development of the PDE5 inhibitors. Chen et al administered oral L-arginine and reported subjective improvement in 50 men with ED.  These supplements are readily available commercially. Reported adverse effects include nausea, diarrhea, headache, flushing, numbness, and hypotension.
Besides PDE5 inhibitors and among second-line therapies are VCDs which are clear plastic chambers placed over the penis, tightened against the lower abdomen with a mechanism to create a vacuum inside the chamber. This directs blood into the penis. If an adequate erection occurs inside the chamber, the patient slips a small constriction band off the end of the VCD and onto the base of the penis. An erection beyond 30 min is not recommended. These devices can be a bit cumbersome, but are very safe.40
Alprostadil is injected into the side of penis with a very fine needle. It's of great value to have the first shot in the doctor's office before doing this on your own. Self-injection lessons should be given in your doctor's office by an experienced professional. The success rate for getting an erection firm enough to have sex is as high as 85% with this treatment. Many men who do not respond to oral PDE5 inhibitors can be ‘rescued' with ICI.