Having a clean and freshly tinned soldering iron tip is imperative for a clean soldering job; Otherwise solder will not stick to the soldering iron properly for positive control of melted solder's grip on the tip.
To freshen the tip if not already freshened; First file or sand off the carbon black residue on the tip left from previous work; Leaving fresh bare metal for the solder to stick to in the next step, tinning / sizing the tip.
Here is sanding the tip down to fresh metal: |