It is important to avoid exercise or activities that exacerbate the injury. However, some low-impact exercises may be beneficial for promoting healing and preventing muscle loss. It is best to consult with a healthcare provider before beginning any exercise program following a sprained ankle.