2 weeks before my period

I’ve been getting on and off cramps before my period... 2 weeks before my period I was constipated, I would get sharp pains but nothing, then I was fine a couple days after. Now this week I’ve been getting on and off cramps, mild though. I tested negative exactly a month after sex and it was negative as can be. Could this just be because I’m new to the pill as well? This is barely my second pack with the pills