The answer to 'how to fix water heater installation' is to first turn off the power and water supply to the water heater. Then, drain the tank, disconnect the old water heater, and install the new one according to the manufacturer's instructions. This includes connecting the water supply lines, gas or electric connections, and venting. Be sure to follow all safety precautions, such as wearing protective gear and working with a helper if needed. Finally, turn the power and water back on and check for any leaks.
Fixing a water heater installation is a project that can be done by DIY homeowners, but it's important to have the right tools and skills. If you're not comfortable with the process or encounter any issues, it's best to call a professional plumber to ensure the job is done safely and correctly.