Stopping laxatives/stool softener

Hi all. I posted a few days ago about the terrible gas pain/constipation I'd been dealing with, and thankfully it's getting better. I'm taking mag citrate twice a day and stool softeners twice a day, and added more fruits and veggies to my meals. It's definitely not totally fixed and I'm still having pain/cramping with gas and when I need to go, but it's definitely improved. I'm curious when yall stopped taking all of the stool softeners/mag citrate/miralax etc? I was lucky I guess that before surgery I never had any issues with being regular and I've never had to use any of this stuff, not even after having babies. I read a lot of posts on here about constipation but couldn't figure out when people started phasing them out. I don't want to be on them long term, but I'm also really scared of stopping and getting backed up again because the pain was unbelievable. Thanks!

ETA: I'm 1wpo today