Toothache pains

What is the safest medicine to take for toothache pains while pregnant? Shall I see a doctor? My dentist appointment is March 22. These pains are unbearable to where it travels up to my ear and head.