A small fire in a shower was dealt with by turning off the electricity supply and shutting down the water supply.