Ibuprofen

So I have just take 2 ibuprofen for a migraine completely forgetting that you aren’t meant to take them whilst pregnant! I’m hoping everything will be fine as I’m only 5 weeks pregnant and it was just a one off dose but at the same time I feel so angry at myself 😩 From what I’ve read it’s more dangerous from 30 weeks onwards. Has anyone else done this?