How long does this take

I recently learned I was having a mc... spotting and light bleeding... how ling does it last?