UTI? KIDNEY INFECTION?....

So, my boyfriend is clean so I’m not worrying about STDs cause we’ve been together 4 months. Can you have smelly discharge with a uti cause I’m in a ton of pain but having a lot of discharge??