Pregnant?!

So I was having sex and we had a condom and it split, this was during my last period, but he pulled out right before he came anyways, and we had unprotected sex not too long ago and again recently but he pulled out each time, I’m also really really worried and having an anxiety disorder doesn’t help what so ever, what should I do just in case to prevent pregnancy btw my period should arrive in about a week but I always have back pain (throughout my life) I’ve been nauseous but again I’m nauseous from time to time) and I have horribly painful sore boobs and I’m bloated, I’m also very emotional the last few days