Sometimes trying to say something when you know you have no clue what to say makes things worse.
When someone you know is breaking up with someone and they turn to you for comfort, don’t tell them to get over it.
Ask them what they need and then connect with them on their level.
Don’t change the subject because their pain makes you uncomfortable.
If you can’t provide your friends empathy and compassion, then maybe you shouldn’t be their friend.