UTI and sex

I finished my antibiotics yesterday, and I was wondering when it’s okay for me to have sex again? I don’t want to irritate it or cause it to come back, but my doctor didn’t give me much information on it.

Also, I finished my pyridium last night as well, and I haven’t been able to wear my contacts because they will be dyed orange. Am I good to wear them again?