Sharp pain and cramps

The 29th I got super sharp pains down below that lasted about 10 seconds. Right now, today, I’m having cramps that started about 2 minutes ago. I’ve never felt anything like this unless I’m on my period or maybe the day before it, but I’m no where near.

Any idea what this could be? Should I be concerned or take a test? The last time I had sex was on the 28th.