Ibuprofen and pregancy!

I’m 5weeks today and only just found out!! I’ve had raging tooth ache but it isn’t the tooth it’s the gum so I’m on antibiotics and my dentist said to take paracetamol and ibuprofen to help also.. this was Monday! So I’ve been taking ibuprofen and paracetamol every day plus my antibiotics and now I’m so so so worried I’ve put harm to my pregnancy now 😭