Do you know if there's any aggression in the tank? It sounds like it was being bullied.
The best thing to do is to remove him to a hospital tank and perhaps treat with Melafix. Getting rid of whatever caused the damage to your fish will be the ultimate solution, though.