Diagnosed with subchorionic hemorrhage and I’m super worried

I had a lot bleeding the other night and went to the ER thinking my baby was gone. I’m currently around 6 weeks pregnant. They told me I’m at high risk of miscarriage. I haven’t had much blood since yesterday. Anyone have the same thing and have a safe pregnancy?