If you keep your sugar cookie dough very cold, it will help to keep the shapes from spreading during baking. If you still have trouble with spreading, even after freezing the cut out shapes, you can increase your oven temperature by 25 degrees, which will also reduce the spread.