I agree with black agnes vendome, if your ear is hurting too that sounds like it could be infected.
You should definitely call your dentist and tell her you’re in a lot of pain.
The last time I had an abscessed molar, I thought I had an ear infection. Surprise, it wasn’t an ear infection. Would have been cheaper to have an ear infection by the time I was done with the root canal and crown.