If butter is accidentally melted while softening it for baking, use it for another purpose, such as sautéing, or use it with vegetables or pasta. The physical properties of butter are changed when melted and prevent butter from being mixed properly with the flour in the cookie dough. Butter that has been melted coats the flour in the dough differently than softened butter. Therefore, soften a new stick of butter to use for cookie dough.