UTI or Yeast Infection

I can't tell if I have one or the other. I know I need to drink more water but I have a foul smelling odor and a lot of discharge and when I urinate it's very cloudy. However it doesn't hurt to use the bathroom so I don't know what it could be. I know it's not a STD because I've already been tested.