VIAGRA is a prescription medicine for erectile dysfunction (ED). Viagra was the first in a range of prescription drugs, which has been shown to work for most men with erectile dysfunction.