question about bc

this is probably a dumb question but what would happen if you took birth control pills while being pregnant? Like hypothetically speaking