Leg cramps occur after exercise mostly because the muscles, fascia and ligaments of the legs are repeatedly and excessively stretched, causing spasm, which leads to excessive contraction of muscles, fascia and ligaments and causes leg cramps. Therefore, you can perform leg massage to promote local blood circulation so that the spastic contracted tissues gradually relax, thus relieving the symptoms of leg cramps. You can also do more ankle dorsiflexion or plantar flexion activities to stretch the muscles, ligaments and fascia of the leg in a relaxed state, which is also very helpful for the recovery of leg cramps. Later, you can apply heat or physical therapy to the leg to completely recover the symptoms of leg cramps.