Yeast infection and oral thrush

Hi I have a yeast infection and oral thrush. If I go and take Monistat will that also get rid of my oral thrush? Not really sure how it works