Almost every cookie failure announces itself in the first batch, and most of them are fixable without starting over. Flat, pale, burnt, dry, or welded to the pan — each problem points to one or two causes. Read the symptoms, change one thing, and bake the next tray as a test.
Diagnose first, then change one variable
Cookie dough is a small system of fat, sugar, flour, and water, and most faults come from one of them being out of balance. Before you alter the recipe, check the boring things: did you measure flour by scooping, was the butter actually soft, was the oven really at the temperature it claimed? Change one of those, bake a single cookie, and wait for it to cool before judging. Texture reads differently at room temperature.
When they spread too far, or dome up and stay cakey
Spread means the fat melted before the structure set. Warm dough, greased pans, too much sugar, or too little flour all push in the same direction. Chill the dough for at least an hour, scoop onto a cool, parchment-lined pan, and put the sheet in the fridge for ten minutes before baking. If the dough is still loose, add a tablespoon of flour at a time. Never put dough on a hot pan.
The opposite problem is usually cold butter, overmixed flour, or too much leavening. Cream the butter and sugar until pale but not airy, stop mixing the moment the flour disappears, and check that your baking soda or powder is still active by dropping a pinch into vinegar or hot water. Flatten the next batch slightly with a damp palm before baking.
Burnt edges with a raw middle
That is a heat problem, not a dough problem. Drop the oven temperature by roughly fifteen degrees, move the rack to the middle, and use a lighter-colored pan; dark nonstick trays brown the base long before the center sets. For thick cookies, bake at a lower temperature for longer. If the edges are already dark, tent the tray with foil for the last few minutes.
Dry, crumbly, or stuck to the pan
Crumbly cookies are usually overbaked or short on fat and liquid. Pull them while the centers still look slightly underdone and let them finish on the hot pan. Sticking is a pan issue: parchment paper solves it, and so does waiting two minutes before lifting. If the cookies have already cooled onto the tray, slide it back into a warm oven for a minute to soften the sugar, then lift gently.
What to do with the batch that is already ruined
Burnt cookies cannot be rescued, but they can be repurposed. Scrape off the darkest parts and crumble the rest over ice cream or fold them into a no-bake slice. Undercooked or dry cookies can become a crumb layer for a trifle or a cheesecake base. Do not serve anything that tastes of scorched sugar, and if you are ever unsure whether dough with raw egg is safe to eat, throw it out rather than risk it.
Write down what you changed while it is fresh, because the second batch is the one that teaches you your oven. Most cookie problems are solved by cooler dough, a lighter pan, and pulling the tray a minute earlier than feels right.