Assuming this is some kind of gull-wing parts, like SOIC or leaded flat pack, apply water-soluble flux everywhere that needs fixing, then allow to dry most of the way. (The flux has alcohol solvent, so dries in a few minutes.) Then, reflow in oven, and wash in running water after cooling. I assume there is solder on the pads already, just that it didn't wet well.
Jon