While there is no direct risk of a UTI from using a tampon, it is important to wipe front to back after peeing to avoid transferring bacteria from the rectum or vagina into the urethra. This can help prevent UTIs, especially for individuals with shorter urethras.