plan b question

will plan b work if you take it on or right after ovulation