I had this and had the op, and TBH it didn't help that much with the poos (although it repaired some of the muscle tearing from birth of first child and I got a perineum back
)
I did see a physio as a result who specialised in constipation issues and this helped with understanding what is wrong.
I use movicol which is an osmotic laxative and holds onto moisture.
I use laxatives to pre-empt constipation when I have not been able to drink a lot (eg day out or progestogen phase of hrt) I also have high fibre breakfast every morning (oats and dried fruit is better than bran stuff which dries out in the gut) to create a regular 'urge' Coffee is supposed to help but that does other things to me
(she did suggest Senna and ortisan cubes but these give me tummy pains. Dulcolax gave me really bad pains and I nearly passed out
so there is no way I would ever recommend that. Movicol/laxido is more gentle, and lactulose is cheap but a bit windy. Fybogel dries just adds to the blockage and is really more useful for people who do not have enough fibre.)
Regular meals rather than grazing helps, and chewing well (to encourage peristalsis). Plenty soluble fibre (oats, beans, fruit) and fluids.
Then there is the putting feet up and relaxing pelvic floor in the right way. I would also say that suppositories help in the early days, alongside the creating urge stuff.
If your stool dries, it slows passage which dries it out more - it is a vicious circle. It is also much harder to pass.
You have to keep a sort of constant turnover going. Have a look at the Bristol Stool chart and aim for the sausage with cracks one.
If you know you need to go, then go even if you need to use a suppository at first. Never hang on.
Oh yes and the exercise. Brisk walks, yoga, pilates