Birth control

If your on birth control, and you have sex, and you just started on the pill, like literally took a pill the day before, could you still get pregnant ?