Can you take EC pill during ovulation?

I had sex with my boyfriend and the condom broke to where he looked like he didn't even have one on but I know he did because I watched him put it on. But he didn't know it broke until he took it out. I reached in and tried scooping some of the cum out and I got a fair amount. But we had to go around town for money to buy the "take action" pill. I took it about 3 hours after it happened. I started ovulating 2 days later. Did the pill work?????