Until the late 1990s, there were no truly effective oral medications for erectile dysfunction — the inability to achieve or sustain an adequate erection for sexual activity. The useful drugs that were available had to be injected into the penis or inserted into the urethra.
Treatment of erectile dysfunction is much easier now, thanks to a class of drugs called phosphodiesterase-5 (PDE-5) inhibitors. The medications — sildenafil (Viagra), vardenafil (Levitra) and tadalafil (Cialis) — all improve erectile function in the same basic way, but they differ in how quickly they take effect and how long their effects last.
Viagra, Levitra and Cialis: How they work
Viagra, Levitra and Cialis prevent the breakdown of nitric oxide, a chemical messenger that promotes relaxation and opening of the blood vessels that supply erectile tissue in the penis. Under the influence of nitric oxide, these vessels expand and stay dilated. Increased blood flow makes erectile tissue swell and compress the veins that carry blood out of the penis, resulting in a full erection.