To keep cookies soft, don’t over bake them. Take them out when the edges are golden, but the centers are still soft. Also, store them in an airtight container.