unprotected sex

if I'm on the pill and had unprotected sex the week before I'm due for my period can I be pregnant ?