Worried cause I’ve taken ibuprofen for back pain

Norma

I fractured a vertebra years ago and it always hurts but has been worse lately. I have taken 2 of my boyfriends 800mg ibuprofen for the pain in 48 hours. I just now read where you’re not suppose to take that for pain in the 3rd trimester! 😬 kinda freaking out here. I’m 27 almost 28 weeks.