Post menstrual cramps

So my period ended a week ago and for the last few days it feels like it’s been coming back? Like there’s no blood but there’s mild cramping. I haven’t had sex, but the foreplay allowed the sperm to be dangerously close to my vaginal opening. I don’t think I’m pregnant but the internet isn’t helping. What do you guys think is the cause for the post menstrual cramps?