Yeast infections aren't STDs. In other words, they aren't infectious, and can't spread to someone else during sex. In any case, sexual contact now and then can cause yeast infections — your body will have a terrible response to someone else's regular genital yeast and microscopic organisms, which makes yeast develop.