Preterm labour or braxton hicks?

How do you tell the difference?