Threatened miscarriage help me!!!

Yousra

When I was 10weeks I had bleeding for no reason and went right the way to ER they checked my cervix If it is closed or open and they did ultrasound for baby to see the heartbeat they said we can’t do nothing because your still in first trimester he said wait fo the bleeding to stop by it own

I was so scared and took a bed rest and after that bleeding become brown and after yellow now I’m having yellow discharge!!! And I’m so scared