More info needed: - Water Params - more tank specs (lighting, flow)
It looks very deteriorated and is probably very near dead. I would do a large water change as quickly as possible and hope for the best, and if it does not show signs of recovery throw it out as you don't want it to foul your water and kill all your other life.