Oral Thrush

Did anyone else develop oral thrush during pregnancy? I got prescribed clotrimszole 10mg lozenge. I have to dissolve it on my tongue every 4 hours! It's tastes so bad. I really don't like medicine but trush can spread and get worse so I have to take it. Im so worried about my baby. 34 weeks pregnant.