Period and the pill?

If you are on birth control and happen to get pregnant will I still get my period or will it stop?