Medication for toothache

Ce

Anyone know of medication I can take to relive a toothache. I’m 21 weeks pregnant and I know I just can’t take any medication.

Seen the dentist about the tooth, my filling I just had done 3 weeks ago got infected or something and I guess I need a root canal but I can’t get it done till after the baby. That’s what they told me. They replaced the filling with temporary one that’s supposed to help with the pain and took out the dead nerve they said I had.

next dentist appointment is next Wednesday to check up on the tooth but the pain is so bad I can’t wait till then .

Please anything that help.