Spotting problems

So at 6 weeks pregnant I was spotting went to hospital and seen baby with heartbeat no problem then it stopped now at 8 weeks I’m having more spotting super stressed now that my rainbow baby will no longer be there