UTI or Yeast Infection???

Hello,

I have discharge/yeast infection since I was in middle school and my friend and I were just discussing about the difference of yeast infection and UTI. (I didn’t mention that I have one because it would disgust her). Are they the same? Can yeast infection treated the same as UTI? I’m curious, help me please!