Anyone have tips on sweating pipes that are in a vertical position?

How can I keep the solder from running all over the place?