Help!

I went for my first ultrasound today. I should be 9 weeks 2 days but accordingly to ultrasound i am 6 weeks 4 days. Doctor told that there is high possibility of miscarriage.