Starting the pill before my period is due?

This is definitely something I should know given that this is my second time going on the pill but I just wanted to confirm this! If I started a pack right before my period is due will it delay my period? Just wanted to make sure this is true because I’m almost two weeks late and wanted to make sure this is most likely the culprit rather than unprotected sex I had a few weeks ago.