It is safe to use baking soda on small electrical fires, as it can smother the flames due to its sodium bicarbonate content. However, for larger fires or if unsure, it’s best to use a fire extinguisher or call emergency services.