Plan B & ovulation?

Nyla

Does plan b not work when you are ovulating? I had intercourse on my highest ovulation day without realizing it.