Ibuprofen help!

I had a really bad migraine today so i asked my mil if we had any Tylenol. I live with her and my boyfriend. She went to look for some and came back with two pills, i said i would just take one to see if it helped and if not id take another. Well i took one and fell asleep. It’s been four hours so i got up to take another. I asked her where they were so i could get it, but couldn’t find any. I only found Motrin, so i asked her where she had put the Tylenol and she told me that’s what she gave me. Im 25 weeks and as far as i know we aren’t supposed to take ibuprofen/motrin during pregnancy. What should i do???