6 weeks today with spotting?

I had some spotting today. Not much just a little pink in the toilet paper. Then a little later some brown mucous discharge. I'm a bit concerned and I'm hoping I'm not having a miscarriage. I am 6 weeks today. Anyone else have this happen to them? I just need some reassurance.  Called the doctor they just told me to keep an eye on it and if cramping and bleeding gets worse to go to ER.