Yeast infections

Does anyone else get yeast infections if they don’t pee right away after sex? This has happened with two separate people now. Idk if this is normal or not 😩