body clearing self out

tmi maybe....just wondering when "your body clears itself out " ready for labour ....how many times a day do you clear yourself out and for how long before labour ....and how will i know the difference between body clearing itself out ready for labour to just going poop many times a day due to food reacting with my stomach