Pregnant on metformin

If you fall pregnant on metformin do you just stop taking it completely? Or gradually?