Can I still be pregnant?

So I had sex about 2 days before my period started. But I've also heard that it takes a few days to a week for your body to actually be fertilized after you've had sex. Does this mean I could still be pregnant even if I've had my period?