It is normal for freshly baked cookies to be soft, and they will become crisp after cooling. If it is still soft after cooling, it means that the baking time is not enough and the water is not completely dried. The solution is to bake the cookies in the oven again for a few minutes. If the biscuit is dark enough, but still soft after cooling, it may be because the temperature of the oven is too high. At this time, try to lower the oven temperature and prolong the baking time of cookies.
In addition, the bigger and thicker the dough, the harder it is to dry the water, and the easier it is to bake soft biscuits. On the contrary, the smaller and thinner the dough, the easier it is to bake crisp cookies. So, if you can't bake satisfactory cookies all the time, try to make them smaller.