You should try to see your dentist asap. I've undergone dental surgery last May because of my bothersome wisdom tooth. The pain is unbearable. My dentist have applied Eugenol inside the cavity then press with cotton ball. Premedication with antibiotics is also needed.

Advil works well. Since you are pregnant, you have to consult for proper drug prescription.

Hope it all goes well.