Begin by melting a small amount of solder on the iron, then push the tip of the magnet wire a small distance into the molten solder and hold it there for a few moments. The enamel will bubble away ...
transferring the heat from the iron’s tip to different points along the wire, then, as a barrier that helps solder not escape too far away from the pins. Copious amounts of flux likely desired ...