Getting good action? I'd recommend reading "The game" by Neil Strauss...
But seriously, it's a matter of trial and error. Also, if you've got a light gauge, try going a bit thicker as you get more tension, thereby decreasing buzz. You've gotta leave a little bit of slack in the neck prevent buzzing on the first frets, but otherwise it's just a balancing act.