Yeast infection

Has anyone ever got any Yeast infection while pregnant and if so how did you treat it ??