Drinking a lot of water and practicing good hygiene after urination can help prevent urinary tract infections, or UTIs. Certain feminine hygiene products can cause irritation that can lead to a UTI.