Threatened miscarriage

Anon

I was in the ER all morning, I had a tiny clot in my spotting, all the spotting stopped before they even started, ultrasound showed they said my baby look perfect and that it's heart rate is perfect, told me the new due date which was just 2 days difference from the other one, they told me everything was great with my baby, then put me on fluids bcuz I was a little dehydrated then told me I had a threatened miscarriage? Now I'm so scared I'll do something wrong...I thought everything was perfect..?