There is no treatment yet produced to cure ammonia. Otherwise it will be recovered by preventing changes in the water and changing the tank with a new one. If the cause is of low effects then it can be cured but if it has effects more than it can not be cured and can damage the eyes of goldfish which results blind. And cannot see the things again.