Little bit worried...

Okay so as gross as it sounds i havent gone number two in just over a week now & everytime i try i get an intense stabbing pain where my bowl is... I know its constipation but i think it could be something more.
I know when i had my appendix removed the doctors told me it infected some of my bowl but they cleared it up with antibiotics ( or so i was told)…
But im asking has anyone had this before if so what did you do!?!
Ive tried laxatives,change in diet & lots of water...