Loose poop and puking

💜

I read online it can be your body prepping for labor. I was wondering if anyone has been had it happen for them and how soon after they went into labor?