Anyone else ?

So I’m 6 weeks and 5 days pregnant but I started spotting lightly 3 days ago and had a clot come out last night . I ended up going to the er to get checked out because I was scared I was miscarrying but they did an ultrasound and showed tiny bean and the little flutter of the heartbeat so I’m just wondering has anyone had this happen and the baby still go to term and be fine ? 😭😭