Sexing few days to my period

Eddie

If my boyfriend had sex with me like 3days to my period and he spilled the sperm inside me would I still get pregnant?