You cannot fix a leaking water heater if the leak is coming from the tank itself. You can fix a bad anode rod or thermocouple that might be the cause of the water leak.