Ovulation?

How do you know when you ovulate? I took plan b 24 hours after having sex but some people say it won’t work if I ovulated. How can I tell?