When you have reached your desired length, cut the yarn and leave a tail long enough to weave in later. Pull the tail through the last stitch to secure it. To weave in the ends, thread the tail onto a tapestry needle and sew it into the stitches of the blanket, going back and forth until secure.