Spotting

I’m 9 weeks and 3 days and today I had brown spotting and back and abdominal cramping . Has this happened to anyone and everything was ok. I got bloodwork this morning and go for an ultrasound tomorrow.