Yeast infection

So I've been waiting to take a pregnancy test because I'm only 4 days away from when I should start Af but I noticed I'm developing a yeast infection. Could this be because I'm pregnant. I've have a lot of nausea, I've thrown up when I've eaten curtin foods. And my breast are very tender more of my nipple then my whole breast.  Has anyone ever developed a yeast infection from becoming Prego?