Swimming cramps, first of all should immediately stop swimming, and as soon as possible out of the water, to a safe place to rest, followed by targeted treatment according to the cause of the disease, the common causes include not doing warm-up exercises before swimming, calcium deficiency, venous reflux obstruction, etc., and the treatment includes general treatment, drug therapy, physiotherapy and so on. 1. Failure to warm up before swimming: If you do not warm up before swimming or if you do not do it adequately, it may cause muscle spasm because the muscle relaxation is not in place. You should get out of the water as soon as possible, rest in a safe place, and then relax your muscles and relieve the spasm by stretching your leg muscles. 2. Calcium deficiency: After arriving at a safe place, physical therapy such as heat therapy, electrotherapy, microwave therapy, etc. can be taken. For the etiology of calcium deficiency, calcium supplementation therapy such as calcium carbonate, calcium lactate, etc., or vitamin D supplementation can be taken at the same time. 3. Obstruction of venous return: Hot compresses can be used to promote blood circulation and improve obstruction of venous return. The above medications need to be used under the guidance of a doctor. Cramps while swimming should be removed from the water source as soon as possible and moved to a safe place, avoid staying in the water all the time to avoid drowning. If the cramps cannot be relieved after simple treatments such as rest, stretching and hot compresses, you should seek medical attention to clarify the cause of the problem and treat accordingly.