Yeast infection and BF cheating?

Can I get a yeast infection from my boyfriend cheating on me if I haven't ever got one from him before and we have been together for a year now. I know it sounds stupid but just wanna hear opiouns.
Also in so much pain please if anyone knows some treatments I can do until I can buy monatstat please let me know😭😭