I think I’m pregnant

Me and my bf had sex last night and I feel like I’m pregnant. We used a condom and he pulled out but I still feel like there’s a possibility. My stomach hurts or is it just in my head