Advice please

I've gotten what I thought we're very faint lines the last few days but I woke up this morning with bad back pains and stomach cramps and now either af is here or I'm having a very early miscarriage... should I call my doctor or is there really nothing they can do and just ride it out?