There is no point in treating fish unless you know what the problem is. Once you know you should treat with the smallest amount of the least toxic treatment that will do the job. If you are dealing with an infection then you should treat the tank as the fish are likely to become re infected if you put them back after treating in a separate tank.