Can I take Aleve or Ibuprofen?

♡ LaLa♡

I'm 27 weeks and 2 days. I'm having a horrific toothache. Can I take Aleve or Ibuprofen?