yeast infection

Diamond

So i was prescribed a pill and an ointment from my doctor. I was able to get the pill and took it right away, but they said my ointment will take some time. They never notified when my prescription was ready so i went to a Walgreens ans bought a Monistat. Is it ok to use Monistat while I have taken the pill mu doctor prescribed to me?