B/C and prego

S • Not TTC just period tracking and community
How bad is it to be on birth control and be pregnant and what does it do? I only ask because I was watching that show where people are pregnant and didn't know it, and the girl said she was on b/c and I can only assume she kept taking it since she didn't know she was prego and it just had me thinking.