The fish has whitespot (Ichthyophthirius)
Do a 90% water change and gravel clean the substrate.
Make sure any new water is free of chlorine/ chloramine before it's added to the tank.
Clean the filter. Wash filter media/ materials in a bucket of tank water and re-use the media. Tip the bucket of dirty water on the garden/ lawn.
Increase aeration/ surface turbulence to maximise the oxygen levels in the tank.
Turn the water temperature up to 30C (86F) and keep it there for 2 weeks. Then reduce the temperature to 24C. The heat will kill off the whitespot parasites.