How to help my girlfriend now that her ex is getting married?

She saw on social media that he was getting married and she's really upset.

He was her first love, they dated through highschool and again when they were 20 but it didn't work out.

She says she's over him but can't help but feel behind in life.

We've been dating a year and both 27.
How to help my girlfriend now that her ex is getting married?
Post Opinion