repetition. the more lucid experiences you have, the better you get at them. the fact that you're consciously thinking about trying to avoid getting distracted in your next LD may also help.