Apply sufficient amount of flux to the contact before you soldered.
and wipe the tip of the soldering gun to remove any excess lead.
better to use sponge to clean the tip. and after soldering rub the
tip of the soldering gun with a blade like material.