Yoghurt will not cure a vaginal infection, but using PLAIN yoghurt with natural bacteria in it may help relieve some symptoms. The yoghurt comes out by itself just like a cream would or your period.
I would urge you to go for an exam because it may not be a yeast infection. It is best to be on the safe side when dealing with your health.
I hope this helps,