cramps during pregnancy

Is it normal to have cramps during pregnancy ? It makes me worried every time I have them because I think it means I'm gonna have a miscarriage so can anybody help