This largely depends on the recipe. Flattening will make then cookie thinner and crispier, while leaving them balled to spread only a little, will make them thicker and chewier.