Foods to eat and foods to stay away from to avoid constipation?

Really need advice ladies, I drink plenty of water and it’s just not cutting it. I keep having to drink milk of magnesia to go.. and I don’t wanna be dependent on it. I need advice please & thank you!

I am 25 weeks pregnant ***