Constant stomach cramps

I’ve been having stomach cramps like a massive bubble gut pain but it comes and goes frequently. I’m 8 weeks & 5 days .. diabetic with a very high A1c doctor said it’s a possibility I might miscarry. Could the cramps be a start to a miscarriage? I’m so nervous 😩