plan B question!

So I know plan B pills stops ovulation. But if you have sex within the days you ovulate, then take the plan B the day after ovulation ends, will the Plan B work even though the whole point is to stop ovulation???