Spotting from 10 days

Bujji

I had positive UPT and beta hcg was 14.53 and after 48 hours increased to 32.11 but spotting is not stopping while urinating I can see blood spot every time. I had previous 2 miscarriages history. Doctor prescribed ovidac 5k injection and progesterone tablets even though there is spotting. Will this end in miscarriage again any hope or success stories