UTI!!!

I have a UTI, should I refrain from sex until I'm done with the antibiotics?