I've been learning how to play guitar for about a month and a half or so, and even though it's a slow process of learning at times, it frustrates me to no end when I'm trying to play and some of the guitar strings rattle off of my nail or a fret or whatnot. Just so you know what I'm talking about, I recorded myself playing a small tune I wrote to practice switching strings. You can hear the rattle in some of the notes:
http://www.gamesandbkbcards.com/guit.../practice1.wav
How do I prevent this? When I hear people perform, rarely if ever do I hear that rattling sound, so there must be something I'm missing.