1. Assuming its the gate valve on the cold feed to the hot water cylinder which is faulty:
1a. Make sure you have appropriate sized (probably 22 mm, could be 28 mm) push fit stop end handy.
1b. Freeze the pipe between cold water storage cistern and the gate valve. Use a big enough freeze kit like
Screwfix 900FJ
1c. Remove the gate valve and replace with a decent quality (Pegler?) lever valve.
1d. If freeze fails, use the stop end - fast.
1e. Worth having some rolled old towels / cloths to use as a bung in extremis.
2. Turn off new valve, work on hot tap.