Plugs light fixture wiring may deteriorate over time and ends that connect to a receptacle can break off easily if too stressed. If the lamp plug is two-pronged, replacement requires a minimum of wiring. A three-prong plug is only slightly more difficult, but both can be done without knowledge or electrical expertise.
Some light fixture wiring remains in place for decades, with the cap without touching all the time. Others move around more, and the lamp socket suffers accordingly. A careless pull on the cable to get it out of the socket can be easily bent the spike, and bend it back may or may not work. At worst, it may even break the tip of the pin. A plug replacement is inexpensive and available at any hardware or home store.
Installing two fronts Plug light fixture wiring, Cut the cable outlet on a two-wire light fixture wiring just above the broken plug. Do you want a pair, clean cut through the cable, without irregular gum she left behind, and Discard the broken plug. Use a sharp cutting between the two wires together by about 1 inch apart on two wires and knife. Do not scratch the heavy rubber around the wire. If you do, then cut off the part and try again to separate the cables.