Is plan b effective 2 days before the fertile window?

I just want to know how plan b works if it says it delays ovulation, but if its one day or two that you begin your fertile window does it works?