Please help

My friend dated a guy and he treats her horrible. They broke up like a year ago but they still talk and he treats her like sh**. She wants to move on but she cant we all try helping her. Any advice on how to get over a long term relationship?