Repairing an electrical plug can seem like an average home repair, but care must always be taken when working with electrical cords and electricity. Electrical cords or extension cords are very prone to wear and tear, as the prongs get bent or broken off. The key is to match the replacement plug with the existing one. If the plug has one prong or blade slightly larger then the other, it is polarized and must be replaced with a polarized plug. Additionally, check if you need a two- or three-prong plug. Following a few steps will help you know how to wire electrical plugs correctly.
Cut down the center of the two wires on a two-wire plug and split them apart. Use a utility knife. Using your fingers, pull the wires apart about 2 inches. For a three-wire cable, use the utility knife to cut about 2 inches of the outer sheathing off. Be careful to not cut to deep and cut the interior three wires. Cut the sheathing away to reveal three wires inside: black (hot), white (neutral), green (ground). Using the wire strippers, strip about 1 inch of insulation from each wire.
Replace the cover over the plug and tighten the screws to secure the cover on the end of the plug with the screwdriver.