Miscarriage?!

This may be TMI but I am nervous. So for the last week I've been spotting. It's a brownish color and it only happens when I go to the bathroom. And last night I was having like a 9-10 pain feeling in my lower abdomen. And today I've been having the same feelings. My boobs have also stopped hurting too. And also I was told by the clinic that I had chlamydia about two weeks ago and they gave me a antibiotic to get rid of it. I still pee frequently and I'm still nauseous. I'm 6 weeks today and I don't know what to do.