miscarriage..?

so sorry for the pictures but..on the 6th I went to the hospital and found out I was pregnant but I was only 2 or 3 weeks. 2 days ago I started having brown discharge I wake up today In extreme pain and go to the bathroom, wipe and I see this. please help...what should I do...what does it look like to you guys..