TMI C-Section or constipation?

I got a c section 2 months ago and today I had super strong stomach pains as if I were starving n then I felt like I was gonna throw up super bad then I sat on the toilet and felt pain in my c section scar but it gradually went away then 5-10 mins after it came back, I have a lot of stomach problems but never have I felt this pain before