To extinguish a flame with water.
To use the fire extinguisher.
Both variants of action are possible.