Please help, pill info

Eve
Hey guys I'm just writing as I'm curious, if you are on the pill and you become pregnant by chance, when you stop taking the hormone pill and switch to the sugar pill to get your monthly period, will you still get your period as normal? Or as you are pregnant, will it not come at all. I vaguely remember hearing somewhere that you still get your period... But how can that be since the sugar pill doesn't induce your period at all it just wrens your body off of the hormone? Thanks guys