2-3weeks pregnant

Is it normal to have cramping in the early stages I'm about 3 weeks and I'm anxious as I've miscarried before.