You will have to wait until you test negative, and depending on the country you are visiting, the number of days required with a negative test prior to travel will vary.