I need help

How do you get rid of thrush I have gone to the doctors and got a tablet thing but she didn’t full explain everything I’m so confused