Isolate the water (stop tap), switch off the boiler/electrics if safe, and contain leaks with towels/buckets. For gas smell, follow emergency gas safety steps first.