Does plan B ever not work?

I know it doesn’t work when you’re already ovulating, but besides that?