Plan B

Does plan B work if taken a day before the suspected ovulation day?

(Taken a hour after unprotected sex)