How exactly do we “walk by the Spirit”?

What is the difference between discipleship and sonship? How do we know we’re walking by the Spirit? Does the Father actually “take away” branches that don’t bear enough fruit?