If your gas water heater doesn t stay lit you may have a defective control thermostat. If after trying that the water heater does not stay lit you will need to check the gas line to be sure there are no clogs and the burner assembly is clean. It tries several times and then quits.