Welcome to healthcare magic ....
You seem to be suffering from constipation
, get a surgical consultation . If there are no organic causes then you can relieve your constipation by few dietary changes like have lots of water and friuit juices, lots of veggies and fruits.
Then if not improved with dietary changes can use Syrup lactulose
10 ml thrice a day for making stool soft and you can pass it easily.
Please consult a surgeon before using this syrup because you need to rule out any obstruction .