The pill and pregnancy?

If I'm on the pill and get pregnant, would my periods stop? Or would I keep getting a withdrawal period because of the pill?