My boyfriend and I

We didn’t have sex but we bump and grind very hard like very. Last time he had his underwear on and I didn’t. I’m scared asf and no I’m not that young but I’m still not very educated on this topic that’s why I chose not to have sex (and religious reasons). My stomach is hurting me so bad and it’s been like not even 1 month. My periods are due next week I’m stressed asf