Is real contractions makes you go poop??

Va

So I had already 2 scares, the first time I went to hospital but got sent home, because I was not dilated or anything... Second time I didn't go and waited till it went away itself. This time contractions lasting 4-5 minutes and makes me go poop.. Is that normal? Could that be the real contractions?? I already went to the toilet twice.