10 weeks no heartbeat is there hope

I had my first appointment at 10 weeks and there was no heartbeat. They also said there was a fetal pole but no baby. What does this mean? Am I going to miscarry?