Tiny amount of bright red blood at 18 weeks.

I used the restroom and there was a very small amount of blood on my panty liner, wiped and there was more. I am 18 weeks with previous miscarriages also have had a yeast infection off and on since becoming pregnant. Could it be from the yeast infection or something else?