To expand on what 1Life says, muting "unwanted" strings is part of it. Sometimes that's using a chording finger to muffle the string next to it as is described. In other cases, you can actually wrap your thumb around to muffle the E string.
That and practice precision with your right hand to not hit the wrong strings in the first place. :)
...so ever since then, I always hang on to the buckle.