I think I have a bladder infection

So on the 14 sep I had sex with my bf I’m on depo so I’m not pregnant. But for the past two weeks or so I’ve been getting yellow discharge with a slight odour and with some discomfort in my groin and lower abdomen that comes and goes. Yesterday I started to feel sick and last night around 11:30 within an hour or so I peed 3 times that’s weird for me as I don’t pee that many times in an hr unless I drink loads of water, but I didn’t the last time I drank was a mocha from Starbucks at like 6:30 . Wats wrong with me ???