Plan b

I had unprotected sex 2 days ago and I took plan b less than 5 hours after. The problem is that according to the app I was supposed to ovulate the day before I had unprotected sex. I read that plan b won’t work if you already ovulated, but is that always the case? Should I assume I’m pregnant or should I stop overthinking it?