Shut off the main water supply to prevent water flow during repair.
Open a nearby faucet to drain any remaining water in the line.
Locate the shutoff valve that is spraying water and identify its connections.
Use an adjustable wrench to loosen the nuts securing the valve to the pipe.
Carefully remove the faulty valve, ensuring no damage to the pipe threads.
Inspect the threads on the pipe and the old valve for damage or debris.
Wrap Teflon tape clockwise around the threads of the new valve to ensure a watertight seal.
Screw the new valve onto the pipe, tightening by hand first, then use the wrench to secure it firmly.
Slowly turn the main water supply back on, watching for leaks around the new valve.
Observe the connection for any signs of dripping or spraying water.
If leaks are present, tighten the connections slightly with the wrench, but avoid over-tightening.
Close the faucet to complete the repair and ensure the leak has stopped.
Verify the repair by running water through the system and checking for leaks.