Follow the manufacturer directions for the treatment you added. If you add small amounts of chlorine, if you test the water with test strips and you are between 1.0 and 3.0 ppm of chlorine you are fine. If you are adding other chemicals, I’d leave an hour for them to circulate and dissolve, and again, if levels are in balance you should be okay to swim.