Bacteria infections

Do any other women get bacteria infections every time they go off their cycle ... if so... what do you do to prevent them ?