I don't think I am, but...

I had unprotected sex multiple times where he finished inside of me the day before I started my period. I still started my period, and I've never really discussed the potential pregnancy risk of both period sex and sex just before. Someone please educate me because I need to know this and I also want to be safe.