To check if the infection is bacterial vaginosis or yeast infection, your doctor can run a test to check the pH of vaginal secretion. If it is 4.5 or higher, then it's BV. If it is less than 4.5, it is a yeast infection. Another way to distinguish between them is BV cause a foul fish-like smell in discharge, while yeast infection is usually odorless.