Helping my froend get over a breakup?

So my friend just got dumped and she's devastated about it. Furthermore, the guy moved on to another girl within a day. Also, she has really bad insecurities and so this just made her self worth plummet even more. She's determined to get back up but she's so sad. How can I comfort her ?