Such people should rather be put behind bars. Beatings don't help them anymore and that they get their sanity back is extremely unlikely.