Need help

I been bleeding for 9 days now :'( Light then heavy then light again and lower back pains and belly pains then trouble sleep and my bleed was last on 29 Oct and it was only 4 days and it's was light one and I been having faint lines on test I been like 10 but I been told I lose the baby :'(