Viagra is used to treat impotence in men. Sildenafil increases the bodys ability to achieve and maintain an erection during sexual stimulation.This medication is sometimes prescribed for other uses; ask your doctor or pharmacist for more information.