Put him in another tank, but make sure its big enough, and also, fill the new tank with at least half of the water from the old one, if hes poorly, you don't want to be putting him into water that's not matured and that he's not used to.
Also, put some Stress Coat/Stress Zyme formula in there...