Hard to say exactly as well. But keep water super clean. Supplement food with vitamins. Remove carbon if present. Add some tannins to the tank. Hope it don't get worse.
It seems your tank is a bit overcrowded. When it comes to piranhas, the general rule of thumb is about 20 gallons per fish, the more gallons per fish, the better. You might consider moving your affected fish to a hospital tank.