Blood at 8 weeks

8 weeks pregnant, cramps out of nowhere and gushed blood. Is it a miscarriage?