Sex before period

If i had unprotected sex a few days leading up to my period and then got my period, can i still get pregnant from that sex?