The reason for leg pain is mainly two aspects: 1, in the process of staying up late, due to long standing, sitting and so on to maintain a posture for too long, it will lead to excessive fatigue of muscle tissue, and local strain, will produce more lactic acid and inflammation and other related metabolites, will stimulate the peripheral nerve, so there will be symptoms of pain. 2, in the process of staying up late, due to the second half of the night will appear more The cooler the situation, resulting in cold muscle tissue, there is a drop in blood circulation. After being cooled, the muscle tissue will easily become tense, which will lead to a further increase in the metabolites produced, and after being cooled, the venous contraction will lead to a decrease in venous return, so the metabolites will gradually accumulate, and local inflammatory edema may occur, which will also stimulate the peripheral nerves and cause symptoms of soreness. Therefore, after this condition, you must keep your legs relaxed and rested, apply warm water bags for hot compresses, pay attention to warmth, and not to get cold.