I had sex

I had sex on the weekend which was 4 days ago and my boyfriend came in me. And I just got my period. Does that mean I’m not pregnant or can I still be pregnant