If you smell gas, it is vital to do the following: ensure all people and pets are evacuated from the house immediately. Leave the doors open and immediately call 911, the local fire department or the utility company's emergency number. Do not make the call from within the house as this action may ignite the gas.
If you have a water leak, shut off the valve providing water to the appliance. If you cannot find the shutoff and/or the shutoff valve isn't working, turn off the main water supply to the house.