This is why I take Acidophilus Probiotic everyday as part of my regiment.
My understanding is that you should also load up on prebiotics to feed the healthy bacteria/biome. Fiber, green vegetables, cabbage, etc (I.e., none of the tasty stuff). Also, minimize sugars in your diet - which apparently the ‘bad’ bacteria likes… Tough to do.