6 weeks 5 days

hi!! Need some encouragement please. So , I thought I was 8 weeks pregnant, I started spotting and I went to the ER. They did an vaginal scan and it showed the baby 6 weeks 5 days and no heart beat yet but they did see something.. I did my bloodwork at my pcps on 1/26 and it was 267. They did them today and they were 8223.… has this ever happened to someone and has an successful pregnancy? I go Friday to see if they double or go up any.. my last period was 12/21.