You can pat and relax properly, rub thigh muscles with your hands, jog, relax, do sports and so on. , can appropriately reduce the pain response.
You can exercise with a small amount of exercise, which can quickly decompose lactic acid in leg muscles and relieve pain.