Open the valve and let the water flow out the garden hose. On completion, Remove the hose, close the exit valve, restart the cold water supply, and shut off the hot water faucets elsewhere in the house where you opened them. Restart the heat source, following manufacturer's directions for your hot water heater. Most modern hot water heaters have a piezoelectric igniter and a simple button to push that makes a spark to light the gas. Today, not many require a match to light a pilot. If your tank is electric, restart it at the tank if you have a disconnect/reconnect switch--otherwise, return to the breaker box and flip the switch on the correct electrical circuit for the hot water heater.
