sex after a uti?

so i got a uti which cleared up about a week ago and im done with the antibiotics - is it now ok to have sex again? i read an article saying to wait 2 weeks