Plan B while Ovulating

I’m on my second day of ovulating. Will plan b work? I took the pill the next day. And I really wanna know if i had protective sex after I took the pill would it risk my chances higher to being pregnant? my boyfriend pulled out with the condom.