Discharge ?

I'm 6 weeks and 6 days preganant and I've been having to wear panty liners bc I get this discharge that's like cottage looking , why is this do I have a yeast infection while I'm with child ?