Oral thrush???

Y’all I have a double ear infection and the doctor put me on antibiotics. For the last couple of nights I wake up with my tongue hurting bad. And I’ve never really bitten my tongue in my sleep or anything like that. This morning I went to look at it in the mirror and it had white stuff all over the back of it.. could this be oral thrush making my tongue hurt? They prescribed me a yeast infection pill when they gave me the antibiotics should I take one???