How many weeks of your pregancy? You must not take Nurofen during the first 6 months.. you can check in this link https://www.nurofen.com.sg/advice-on-usage/is-it-safe-to-take-nurofen-while-i-m-pregnant/ Paracetamol could also pain killer although not strong as nurofen but Paracetamol is safe for 🤰🏻 hope you get well soon
You may read about it from the link below: https://www.healthline.com/health/pregnancy/pregnancy-teeth-pain#prevention But I highly suggest that you pay your dentist a visit soonest. Take care and God bless you and baby.
Go see a dentist.