How do i know if my period flashes out yeast infection?

how do i know if my period flushes out yeast infection? i mean there is blood there how can i tell that with blood white thick discharge is coming out since it is all red?