Baby or contractions

kay
How do you know if it's your baby you can feel tightening up into a ball or whether it's your uterus tightening and feeling rock hard like a contraction?