Contractions vs broken water

Shelby • 25 yrs old... Mom to two beautiful baby boys & 3 angels. praying for H&H third earth baby
Do you get contractions before your water breaks? Or can your water break before you get contractions? Also when your water breaks or say you are leaking how can you tell the the difference from amniotic fluid vs cm...?