Some evidence suggests that increasing your vitamin C intake could protect against UTIs. Vitamin C is thought to work by increasing the acidity of urine, killing off the bacteria that cause infection.