Treatment. Treatment for occasional sleepwalking usually isn't necessary. In children who sleepwalk, it typically goes away by the teen years. If sleepwalking leads to the potential for injury, is disruptive to family members, or results in embarrassment or sleep disruption for the person who sleepwalks, treatment may be needed.