Wondering

I know this might sound stupid but I have a yeast infection I usually never get them does that mean my bf cheated? I haven't had one in over 2 years, we've been together 2 and half.