Would taking Emergency Contraception while ovulating stop it from working?

Jahniel

The other day me and my dude had sex and honestly we're not even in a good spot in our relationship right now so it beats me as to why we even had sex. Anyway the idiot wore the wrong size condom and it ended up getting stuck in me for a while. I bought EC but I was really sure how it worked though I am sure I took it right (I took one in the day and the other the next day at the same time)

The problem I'm having is I felt some ovulation pains after I took the pill and I'm afraid I may have ovulated and pill won't work. I really don't wanna be pregnant but I think I might be and I'm really scared