Plan B... but not?

Brooke

Someone told me that if you have a slip up and take plan B that it will prevent pregnancy but IF you are ovulating then it will not be effective and there is another pill that you have to take to prevent pregnancy. Is there any truth to this and do you know the name of it?