Help. Miscarriage?

So I took a test that said I was 3 weeks earlier today. Tonight I had light bleeding and cramps. I passed clots and the bleeding has stopped. I just took another test and it came back negative. What happened? I don't wanna go to the hospital.