How long until my body do it’s job?

Monkey🐵

At 5 weeks I got an ultrasound and there was a baby with a heartbeat. Today I’m 7 weeks and I went in to ER because I saw light pink on the tissue paper. Got an ultrasound and there was no more heartbeat. I cried until I wasn’t able too no more. What’s next I’m not bleeding nor cramping. How long will my body do its job?