Does Plan B work after you’ve ovulated?

I ovulated on December 31st and had unprotected sex on January 1st, the next day I took a Plan B, but I’m worried that if I ovulated in that time whether Plan B would work or not.