dealing with a break up

My best friend just broke up with her boyfriend, it was her first serious relationship so this is really hard on her, what are the best ways to comfort a friend going through this?