late period

Chloe

I was on the pill for 2 months before I had sex without a condom and my period is late 3 weeks

could I be pregnant or is that what the pill does sometimes ?