wanting sex

After getting rid of a UTI , when can you have sex again?