UTI & SEX

Can you have sex when you have a uti! I need to know asap!!!