Your first task should be to cut off the electricity in the property - only after that should you try to put the fire out. NEVER use water to put the fire out when the power is still one. Try to cut oxygen with a blanket or other piece of heavy fabric. If you are going to be using a fire extinguisher, check out what type it is. Electrical fires are considered Class C fires, which means that you’ll need a specific extinguisher. The majority of residential fire extinguishers are multi-purpose - still, you still need to double-check before you use yours.