how do you know if you have a yeast infection or a uti?

I think I might have a yeast infection or uti.. but not sure