Constipation hit me just the once, following a general anaesthetic, but I still try for at least 30g a day, spread across soluble, insoluble and fermentable types of fibre.
My staples are porridge with ground nuts and seeds stirred in, bananas that aren't fully ripe, apples, berries, lentils, chia, basil seeds and carb balance wraps.
I drink a litre of fluid for every 10g of fibre too. It doesn't all have to be drinks, plenty comes from food (I've a few other health issues that mean I need more fluid than most people).
Hope you find what works for you.