embarrassing bowl issues

If

about 3 months ago i was in the supermarket everything was normal then all of a sudden i needed to poop. i tried to hold it. ack since there was no bathroom at the store. well about 2 minutes past and i knew that i was in a bad state. i left the store looking for a bush to hide under. it was late at night and i was desperate. well i made it half way in the parking lot and shit my pants. then the same story different supermarket which is only a 3 minute walk from my home. so the feeling of urgently need to poop came. i left my hubby and baby in the store and was power walking back to my apartment. i made it half way home and pooped my pants. again......so since having my planned c section 16 months ago, i cannot think of anything eles that has changed in my life that could affect me. thr last week or so i realised that now being a mom i am generally more at home and can go to the toilet pretty much straight away. so yesterday i waited and yeah if i would have waited any longer j know i couldn't have holded on to it. has anyone experienced this before. from my googling i feel it could be some type of ibs?