You can walk if your foot is not swollen or painful, but it is recommended that you walk less and rest more within a week to avoid secondary injuries. A broken foot usually refers to a sprained ankle, and the clinical manifestations vary according to the degree of ligament damage. A broken foot without swelling and pain may be a lesser injury, or temporarily did not show clinical symptoms, it is recommended to walk less, more rest, to avoid causing secondary injury. For ankle sprains, if there is pain or swelling, you should immediately brake and rest, the acute period of 72 hours to give local ice, elevate the affected limb, can be a compression bandage. 72 hours after the hot compresses can be used to promote blood circulation, relieve pain and swelling. If you have a broken foot, you should consult a hospital in time for an imaging examination to determine whether there is ligament damage or even a fracture, to clarify the cause of the disease, and to give targeted treatment according to the specific conditions.