How to Safely Isolate a Suspected Electrical Hazard
https://brightcircuit.inkharbory.com/posts/how-to-safely-isolate-a-suspected-electrical-hazard
If a device sparks or a cord feels hot, stop using it immediately. Unplug the item from the outlet if the plug is undamaged and you are on dry ground. Never touch exposed wires or a unit that is smoking. Keep others and pets away from the area. The real danger is hidden damage, such as frayed insulation or loose connections inside a wall. A certified electrician should inspect the circuit and replace damaged equipment, as only they have the tools to test for live voltage safely.