Could I be having a miscarriage?

Katie

I am five weeks and having some cramping. I woke up this morning to pinkish brown spotting. Could I be having a miscarriage?