Pain medicine while ttc

This is probably stupid to ask but I'm really unsure lol. I've got a severe tooth ache, it's 3 days past the end of my fertile window. Is it safe to take ibuprofen?