I find the trick is letting my voice find the right pitch for a song. If I start with the right pitch I can usually stay on it; the problems start if my starting pitch is too high (usually) or low (sometimes).