Sex and UTI

I was diagnosed with a UTI today and was given antibiotics for 10 days. I was wondering how long after I finish the antibiotics can in have sex?