With this in mind, most preventative measures are fairly intuitive. Things that are more likely to introduce bacteria into the urinary tract are risk factors. This includes sex more than three times a week, having multiple partners, using spermicides and diaphragms, or skin allergens like bubble bath, oils, deodorants, or sprays. Good hygiene is important to prevention (though less proven in medical data). This includes wearing cotton underwear, avoiding tight pants, and always peeing after sex. Evidence is mixed about the value of drinking cranberry juice, but doctors agree there is little risk, so go at it. There's a ton of sugar in most cranberry juice products, however, so popping cranberry pills or pure cranberry juice is better than drinking juice cocktail.