It's all about heat transfer, which only occurs with a clean iron tip and a clean joint. A good soldering iron helps as well (one that maintains the temperature at its tip when applied).
As others have said, start by cleaning the soldering iron tip (add some solder to the tip, then wipe off the excess on a wet sponge).
Make sure you are using rosin core solder. Add a little solder to the joint or pad you are soldering to so the rosin flux in the solder cleans the joint. If you add too much solder, use a solder sucker (Soldapullt is a good brand) or a copper braid to remove the excess.
For pinball, it's important to have a good mechanical connection (ie. wire wrapped around or put through the hole in a lug) due to vibration.
If you find you are having a difficult time applying both solder and the iron at the same time, you can apply solder to the items to be soldered separately then use a rosin flux pen to add a little flux (it doesn't take much) to the joint. Then, you can apply the iron with one hand while holding the joint steady with the other hand. The flux will sizzle away cleaning the connection and ensuring a good solder joint.
Edit: After posting I see the person above already made some of the same points. Ah well, I guess additional information doesn't hurt.