Starting the pill on a day I had sex?

My doctor took a long time to call in a refill for my birth control. She didn't call it in until yesterday afternoon but I had already had unprotected sex early in the morning. I didn't start the pill pack until later that same night. Will I get pregnant?