Gyms also can be sources of infections, though not
yeast, but other fungal infections from sitting
on equipment someone else just sat
on. Haven't been to one myself since covid, but to each their own. Anyway, you haven't described anything that would indicate a yeast infection, so post more info so you can get an informed answer.