Check the class of the fire extinguisher and if it is suited for liquid fires before using it on a oil fire.