Miscarriage???

found out at 3.5 weeks i was pregnant but as i was approaching my 6th week i started to have spotting first pink then brown now bright red. I went to the bathroom and passed what looks like some sort of uterine lining i did have lower back pain but all cramping and back pain went away after passing this clot. Im still bleeding currently but not heavy.