6 weeks no heartbeat

I went to the er for a cyst . I had an ultrasound the day before they said i was 5weeks 5days only saw a yolk sac. Went to the hospital the next day saw a fetal pole no heartbeat they're saying im 6 weeks im so confused