The pill

if you happen to get pregnant while on the pill, will you still have your period or bleeding confused as a period?