Does Plan B work with artificial insemination?

So I've just started Jane The Virgin and if the doctor would have owned up to her mistake right when it happened and given her Plan B right away, would that have stopped her from becoming pregnant?