Stockinette stitch naturally pulls at its edges because knit and purl stitches have different tensions. Add a border with a more balanced stitch, choose a seam or ribbed edge, and block the fabric when appropriate for the yarn.