Here's how to do the basic bind-off in knitting. You need to get two stitches on your right needle, so you're going to knit two. One, two and then the name of this game is to pass the bottom stitch up over the top stitch and off the tip of the needle. So I like to grab it with my left hand needle and just scoop it up and off and drop. That leaves me with one stitch, so I need another one. So I'm going to come collect one more.
I'm going to use the tip of the left hand needle to grab the bottom stitch, bring it up and over the top stitch, and continue on as such. Knit one, bring this one up and over the top and drop it. Knit one, bring this one up and over the top and drop it. What you're getting is this nice chained edge that does have a tendency to be a little unyielding. So if you are going to do this, go up a needle size. I knit my swatch on 10's and I am binding off on 13's or just keep in mind that you have to make these bind-off stitches really loose. So that is the basic bind-off in knitting.