With taking excess fiber, as too much fiber along with inadequate fluids can make the constipation worse.
Milk of magnesia (magnesium hydroxide) and a liquid diet only until passing stool is best. Then avoiding recurrent constipation requires 80-100 oz of caffeine free, alcohol free fluid daily with no more than 25 grams of fiber daily. If keeps recurring, you may need a colonoscopy if you haven't had one recently.
Would you like to video or text chat with me?