Another nutritional route that may help prevent UTI is regularly taking vitamin C supplements. Vitamin C increases the acidity level of urine, which in turn helps decrease the number of harmful bacteria that may be present in your urinary tract system. Always wear panties with a cotton crotch.