Answer:
Surround the area of fire with water so the fire cant spread. And after, pour water on the fire. Always surround the fire first to stop it from spreading. When handling fire there are no specific "safe" ways but this is probably the best way to go orby fire estinguisher which is probably the easiest if you have one nearby which usually you should or do have.
I hope I helped. Pls mark brianliest if it helps. Bye, take care:)