Preventative measures for UTIs include practicing good hygiene, such as wiping from front to back after using the toilet, urinating after sexual intercourse, and avoiding potentially irritating feminine products. Additionally, staying well-hydrated, avoiding long periods of holding urine, and wearing loose-fitting clothing can help reduce the risk of infection.