It is not uncommon for the bowel to be a little disruptive after surgery. Firstly make sure you are getting in your 2ltrs of water. Then you could try some Prune juice or some over the counter liquid laxatives.
Things will settle down – put in constipation in the search engine on the site to see some other hints and tips.
Lots of mobilisation will help no ends too and try to come away from any codeine medication that you maybe taken for pain relief as this will be making things worse
Let us know how you get on xx