Miscarriage?

A.M

Hi so I just found out about a week ago in an ultrasound that my baby had no heartbeat i am 9 weeks now and I find it still hard to believe I am getting another ultrasound done to confirm if it’s true. Today I started spotting but it wasn’t heavy, is this a sign of miscarriage or what should I be expecting?? I’m supposed to choose wether to get surgery or not if what they told me at the doctor is true. I am trying so hard to have faith and hope that everything is ok but it’s extremely difficult, sometimes I feel as if my husband doesn’t understand