Cramping in early pregnancy. What’s normal and isn’t ?

What kind of cramping is ok and what kind of cramping is sign of miscarriage?