yeast infections

heard that you can put yogurt on your vagina if you have a yeast infection just wondering if it’s true?