Thanks for writing to DoctorSpring.com with your health concern.
Your condition is called a threatened miscarriage.
There is a risk of miscarriage when you have bleeding, clot passage and cramps.
The scan showed a live embryo with heartbeat which is a good sign.
However, as you had increased bleeding, pain with a passage of a clot, you should consult your doctor again for a repeat scan.
There is a possibility that you might have miscarried, please get it confirmed if that is so or not.
You might have lost the embryo and had a partial miscarriage, in which case too, the uterus would need to be completely evacuated by your doctor.
The third possibility is the best - you still have an ongoing viable pregnancy. In that case, your doctor needs to be alerted and you have to be extra cautious.
Take complete rest.
Avoid intercourse, stress and any kind of triggers.
All the best.
Please feel free to discuss further.