pregnancy on the pill

I was just wondering if anyone knows what would happen if you were taking the pill without realising you were actually pregnant? Such as when you finish the packet of pills and would be on your period; would you skip one like you would if you were pregnant without contraception?