My friend..

So i have a friend who just got out of a pretty bad relationship and I dont really know how to comfort her. What are some things youd say to a new friend in need? She was with this guy for a number of years. He name called and over all made her feel like shit. What do i say to her? How do i help her?