Missed 4 pills

So I have missed 4 pills because I been waiting for my refill. And the day I got it I took all 4 pills and later that day I had unprotected sex and my S/O nut on the sheet and my thigh. And my stomach has been acting weird and I’ve been nauseous. Am I pregnant or is it the pills?