I would say a week or two. Again it would depend on the $ value of your fish I guess
I would recommend a mild salt solution with stress zyme. I believe that using potassium permanganate, malachite green or any other medication maybe too stressful to the fish.