Help!!

Can you get pregnant when you have unprotected sex a day before your period starts?