Checking cervical fluid cause yeast infection?

haven't had a yeast infection in years and  have recently started checking my cervical fluid internally and I got a yeast infection. Does one have to do with the other or just coincidence? I wash my hands before each check.