I've been having yellow discharge. And my pee smells I've been sexual active. I had a baby Feb and had a lot of stitches. Could that cause this?

Please se your gyn. your gyn can do vaginal cultures and urine culture to see if you have those infections, gyn can check where the stiches were but probably not from that after all this time as you would be having pain in that area.