How soon is it possible to cramp before period

I’m 10 days from my period and I keep getting a random sharp stabbing like pain. It comes and goes, but my cramps are usually like an intense like pulling. I don’t think I’m pregnant, but there could be a possibility. I had sex 6 days ago so I think it’s too early to be anything. The pain is sharp and hurts, thankfully it has only occurred maybe 4 times since yesterday. Should I go to the doctor and make sure I’m alright down there or wait it out for my actual cramps to come?