Is it possible to be pregnant if-

Is it possible to be pregnant if you have sex a few days before your period but then still get your period? I know I'm probably not pregnant because we used protection and he pulled out but I just have really bad anxiety 😞 
It's too soon for me to feel symptoms really but I just feel so uneasy I'd really appreciate if someone answered this thanks