10 weeks with spotting

I had my 10 week scan today and everything looked perfect. Now I just wiped and had pink/brown on the toilet paper. They did swab me for a yeast infection and it was painful bc my vagina is so irritated from progesterone. Could that be why? I’m terrified. This looks like the start of my previous miscarriage but I am having zero cramps. My babies heartbeat was strong today.