Fact is, almost all men experience erection problems from time to time. Sometimes it's a temporary condition that will go away with just power of mind or little treatment. But unfortunately in many cases it may be an ongoing problem. Whatever it is, if you don't want to eventually destroy your self esteem and harm relationship with your lover, immediate treatment is required.
You may already know that lots of hard drugs — like cocaine, heroin, or Oxycontin — can cause sexual problems (though, quite frankly, if you're on cocaine, heroin, or Oxycontin, you have many more pressing concerns to deal with than getting dirrrty). But did you know that sometimes, even pot can inhibit erections? And you thought weed was just a harmless way to enjoy the musical stylings of Pink Floyd. Who knew it could actually mess with one's own pink floyd?
Associated morbidity may include various other male sexual dysfunctions, such as premature (early) ejaculation and male hypoactive sexual desire disorder. The NHSLS found that 28.5% of men aged 18-59 years reported premature ejaculation, and 15.8% lacked sexual interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% had a lack of pleasure in sex. 
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.
It is normal for a man to have five to six erections during sleep, especially during rapid eye movement (REM). Their absence may indicate a problem with nerve function or blood supply in the penis. There are two methods for measuring changes in penile rigidity and circumference during nocturnal erection: snap gauge and strain gauge. A significant proportion of men who have no sexual dysfunction nonetheless do not have regular nocturnal erections.
The drugs are worth trying, but don’t expect miracles. Everyone has heard of Viagra, but Cialis is actually more popular because it’s effective longer—24 to 36 hours instead of three to five. Erection drugs improve erections in around two-thirds of men. They don’t work for about one-third. When they work, they do not produce porn-star erections. Over time, many men need larger doses. But as dosage increases, side effects become more likely, notably, headache and nasal congestion. Finally, the drugs have no effect on arousal, so men may raise erections but don't feel particularly interested in sex. Many men feel disappointed with the drugs. Fewer than half refill their prescriptions.
Erectile dysfunction can have so many long-lasting effects that the inability to achieve an erection is almost the least of them. Men who suffer from erectile dysfunction often suffer from self-esteem concerns, and these can then translate into issues regarding sexual relationships, friendships, and even work-related relationships. As things begin to spiral out of control, men dealing with erectile dysfunction may go on to suffer from depression, anxiety, and other psychological problems that further inhibit relationship and sexual intimacy. So what is it that’s causing this mess?
A device involving a plastic cylinder and pump is used to make blood rush to your penis, enlarging it in a similar way to an instant erection. When you remove the pump, the erection is sustained by slipping a tension ring around the base of the penis. Sounds awful. I don't think you will tell your partner to "please hold on for 20 minutes, I need to put my vacuum pump on to get erect" or "how to get an erection without that magic pump?"
To reach the largest audience, communications strategies should include informative and accurate newspaper and magazine articles, radio and television programs, as well as special educational programs in senior centers. Resources for accurate information regarding diagnosis and treatment options also should include doctors' offices, unions, fraternal and service groups, voluntary health organizations, State and local health departments, and appropriate advocacy groups. Additionally, since sex education courses in schools uniformly address erectile function, the concept of erectile dysfunction can easily be communicated in these forums as well.
Thanks for your question, Frightened Turtle! To help answer it, we spoke with Dr. Darius Paduch, urologist and male sexual medicine specialist at New York Presbyterian/Weill Cornell Medical Center, and sex therapist Jenni Skyler, Ph.D., director of The Intimacy Institute for sex and relationship therapy in Boulder, Colorado. Here's what they had to say:
Maybe your performance issues stem from feelings of discomfort relating to something you've done. Are you having trouble performing because you're feeling uncertain about whether you really love your partner? Or because you feel like you crossed a line in terms of infidelity and now the guilt is tearing you up inside? Maybe your conscience is what's wreaking havoc with your sex.
In some cases, nocturnal penile tumescence testing is performed to find out whether the man has erections while asleep. Healthy men usually have about four or five erections throughout the night. The man applies a device to the penis called a Rigiscan before going to bed at night, and the device can determine whether he has had erections. (If a man is able to have normal erections at night, this suggests a psychological cause for his impotence.)
Injection therapy involves injecting a substance into the penis to enhance blood flow and cause an erection. The Food and Drug Administration (FDA) approved a drug called alprostadil (Caverject) for this purpose in July of 1995. Alprostadil relaxes smooth muscle tissue to enhance blood flow into the penis. It must be injected shortly before intercourse. Another, similar drug that is sometimes used is papaverine—not yet been approved by the FDA for this use. Either drug may sometimes cause painful erections or priapism (uncomfortable, prolonged erections) that must be treated with a shot of epinephrine.
I have no idea why your boyfriend's junk is stuck in the junkyard. He's just 25, in the prime of his penis. It's fairly rare for a guy that young to go from instant erection to shy willy. One study found that just 2 percent of men experienced erectile dysfunction before the age of 40. If it's a short-term thing, it could be simple: Maybe he just needs to get more sleep or have fewer drinks.
ED usually has something physical behind it, particularly in older men. But psychological factors can be a factor in many cases of ED. Experts say stress, depression, poor self-esteem, and performance anxiety can short-circuit the process that leads to an erection. These factors can also make the problem worse in men whose ED stems from something physical.