Unprotected sex😳

So earlier today me and my 'friend' had sex. It was my first time but he had done it a few times before with different girls. It was a really in the moment thing and we didn't use protection. I know it was so stupid but neither of us thought it would happen. I'm only 16 and really can't afford to be doing stupid stuff like this. He didn't cum inside me or anything, but I'm still worried there's a chance I could get pregnant. What do I do? I'm so scared something bads gonna happen😕