How did you manage constipation when pregnant?

How did you Change your diet and what’s foods did you incorporate into it that actually helped you have healthy bowel movements? I find that I’m either constipated or the opposite, I can’t remember the last time I had healthy bowel movements for at least a few days straight! :(