Miscarriage

How do you know if ur miscarriage has passed I'm 5 weeks and had a small drop in hcg and have been spotting for lol 5 weeks and then it stops completely like nothing is going to happen then then starts if I have sex or exercise but it will be all types of colors u can think of for blood lol. My ultrasound is next week