Postpartum poop problems 😩

I’m 4.5m post csection and have been dealing with bloating, gas, constipation, then one day I go SO MUCH and it’s so soft it’s bordering on diarrhea. I gain like 5lbs from the constipation then lose it all when I finally go. Idk what to do. I’m also nursing so idk if it’s related to the hormones. Any experience or ideas please!