If a child sprains their ankle, it is recommended to apply cold compresses for the first three days, then try warm compresses after three days. Additionally, take symptomatic anti-inflammatory medication under the guidance of a local doctor, ensure adequate rest, and be prepared for a long recovery period. Daily care is also important, including sufficient rest and enhanced nutrition to reduce the chance of recurrence.