Please help

Lo

I woke up with a strong feeling of penetrating and cramp just now. Then I went to the restroom and I peed and then this much blood came out. Is this a miscarriage? I’m 7 weeks. Plus there was a little bit of blood in my pee. After this no more blood has came out.