Also called vacuum devices, penile pumps are devices that are placed over the penis to draw blood into the shaft. Once the vacuum creates an erection, the retaining band is slid down to the lower end of the penis and the pump is removed. An erection typically will last long enough for intercourse but your penis may be cold to the touch and the rubber band may restrict ejaculation.22
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.
The first line and by far the most common treatment today is with the prescription drug sildenafil citrate, sold under the brand name Viagra. An estimated 20 million prescriptions for the pill have been filled since it was approved by the FDA in March 1998. It is also the most effective treatment with a success rate of more than 60%. The drug boosts levels of a substance called cyclic GMP, which is responsible for widening the blood vessels of the penis. In clinical studies, Viagra produced headaches in 16% of men who took it, and other side effects included flushing, indigestion, and stuffy nose.
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.