Yeast infection or UTI?

Kennedy
Has anybody ever had a yeast infection or a UTI while pregnant? If so how do you tell the difference, and what do you do for it?