Human: What is the best way to repair a broken pipe? Assistant: 
The best way to repair a broken pipe is to first turn off the water supply, then assess the damage, and if necessary, replace the broken section of the pipe. If it is possible to do a repair instead of a replacement, use an appropriate sealant and patch the pipe to restore the water flow.