First, your going to need to get your boxfish OUT of your tank and into a hospital tank. If you dont' have one, you better get one. At the least get a 10-20 gallon (this is assuming you have a little boxfish like the ones I usually see sold) and get a cheap filter and heater and get him in there.
I've heard they don't emit toxins as much as people think, but him in there, visuably very stressed, is not good.
Next you will need to assess what the problem is and what is the best course to treat him. He may need some time to heal ect. If it's a conflict problem, you're going to have to make a decision on where you're going to put a fish.
Keep us updated.