uti or yeast infection ?

I don’t know if i have a yeast infection or a uti. it just burns when i pee but it goes away when i drink water and my discharge is like cottage cheese.