Saprolegnia fungus on a bacterial infection.
The fish was injured and got a minor bacterial infection on the side of the body, and the fungus infected the damaged tissue.
You can try salt (2 heaped tablespoons per 20 litres, for 2 weeks) or use a broad spectrum fish medication that treats fungus, bacteria and protozoan infections.