Question

Earlier i was laying down and turned over and i had a pain like a contraction but nothing since then anyways now i have diarrhea you think im going into preterm labor... I'm almost 24 weeks no more pains just have the poops now