Plan b on day before ovulation ends?

so I had sex & he pulled out, but I wanna be safe & take a plan b, BUT I heard it doesn’t work during

ovulation, but mine is almost over, (one more day left) do u think the plan b will still work ?