Sex with a uti?

I have either a uti or a bladder infection right now and I was just wondering if it's okay to have sex while you have this going on