Yogurt contains lactobacillus, a good bacteria that helps fight bad bacteria in your intestines and vagina and helps your vagina stay in the optimal pH range. Eating yogurt regularly can prevent your vagina from becoming too basic, but it can also be used topically to cure a yeast infection or BV.