Weird discharge ?

So my stomach has been hurting for the last 2 days, haven’t been able to poop, having bad gas though..it’s a pinching pain in my upper abdomen. I had my “ period” last week, although it was super light, came 4 days early..and I’m on birth control. I was spotting for so long afterwards..it was so weird. Any idea what his could be ?