Suggest you to see a surgical gastroenterologist to examine you and give you a solution. As your back passage needs to be examined and if necessary even a sigmoidoscopy/colonoscopy
may be advisable.
Also please take plenty of fluids and a high fibre diet in the meantime. Also use of a laxative may be warranted in your situation.