This would be my rainbow baby after two miscarriages.

This is my rainbow baby but yesterday I started bleeding went to the hospital and they scanned me and have said at moment baby is okay and 9 weeks but there is a big blood clot beside baby and only time will tell today I am bleeding again I am beyond devastated and so scared has anyone else had this and baby survived ?