
how long has the fish been like this for? it's difficult to diagnose what there is, I'm leaning towards ulcer disease, or some kind of bacterial infection that has got out of control. The fish is in a very bad condition, you must take it to a vet, I don't think you're going to be able to treat the fish on your own. however, you could try a suitable antibiotic, having said that, I think you will have to get it from the vet. You must act now. Also, have you tested the water for ammonia, nitrite, nitrate and pH? There is a possibility that this is related to pour water conditions. How often do you carry out water changes?
Unfortunately, it could be too late to your fish, it looks extremely bad, it must have been going on for quite a long time, you should have taken action sooner