Use a basting stitch around the edges of the fabric. Fold the fabric edges over a little bit, then baste in place. After you've finished embroidery, simply slide these basted threads out and discard. Tape is another option, around the edges, but it makes the edges of the fabric stiff, which you may not like the feel of when working the embroidery.