Blood

So I had my appointment and ultrasound today my baby is 8weeks and 1 day when I got the ultrasound they checked the heart which was 162 and they notice blood outside the gestational sac when she went to measure the blood I notice it said 1.3 Something. I’ve had to bleeding and she said to have no sex for now. I’m soo worry which I’m trying not to be but this will be my 3rd pregnancy my last two ended up in miscarriages. Has anyone had this?