Bleeding & Cramping

Elise
So today I took my son to the hospital for a blood test.
When we were leaving I went to the loo and noticed I was bleeding. I'm 5w 4d pregnant.
I went to the emergency department, I was there all day and continued to bleed heavily and have moderate cramps. I had a scan and the baby is still there but because I'm only 5w4d they obviously can't detect a heartbeat because it's too early. 
I have to go back in two weeks, and until then I don't know if the baby if alive or not.
Has anyone got any experience of this and the baby turned out fine?? I'm praying my little one is still alive