Yeast infection after sex ??

I just had sex on Friday and my boyfriend came in me for the first time. He did it twice !

Some dripped out of me but probably some stayed inside. We had really hot/sweaty sex. I didn't pee directly after, even though I should of. The day after, a yeast infection pops up. Itchy, cottage cheese discharge and discomfort. I'm not sure if his cum caused my Yeast infection. This is my second yeast infection ever and I haven't had one in months. Is there any way / method, I can use to get his cum all the way out of me? Or some advice?😩😅