Make sure that the baking soda you are using is fresh (you can put a pinch in a little water, and if it fizzes vigorously, then its good. Also make sure that the oven has come to temperature, if the temperature is too low the cookies will flatten out while baking.