Viagra (generic name: Sildenafil) is a medication used to treat erectile dysfunction or impotence in men. Viagra increases the blood flow to the penis and helps erectile dysfunction patients achieve and maintain an erection. In addition, Viagra has been used to treat the symptoms of an enlarged prostate (frequent urination, weak stream, difficulty beginning urination).