Going through a breakup is one of the hardest things to do.

While we are all guilty of it, hating your ex might not be the healthiest thing to do.

Take it from Drew Barrymore.

Drew Barrymore smiling

Barrymore believes that being happy for your exes is a great way to find your own happiness as well.

But soon, the two old friends were chatting about relationships in the past.

Hudson and Barrymore laughed about dating the Wilson brothers on the show.

Drew Barrymore and Will Kopelman laughing

Kate Hudson dated his brother, Owen Wilson, from 2006 to 2007, via theDaily Mail.

Drew’s star-studded dating history doesn’t stop at Luke Wilson.

She even hosted her ex Justin Long on her talk show after years of not seeing each other.

Couple faces away from each other on couch

But contrary to popular belief,moving on from your exdoesn’t mean pretending they don’t exist.

One study found that healthy reflection after a breakup actually leads to a shorter emotional recovery period, perNPR.

Celebrating your ex doesn’t mean being their BFF.

Man looks at another woman while with his girlfriend

Both of you deserve to find happiness, even though it’s no longer with each other.

Resist the urge to talk poorly about your ex to others.

If you’re having a hard time letting go right now, there is still hope.

Ben Affleck and Jennifer Garner/Emma Stone and Andrew Garfield

Other celebrities that are friends with their exes

Celebrities: They’re just like us!

Not all A-List couples end in total drama.

There are plenty of celebrities who have nothing but love for their former flames.

Woman rips up a picture of her and her ex

Andrew Garfield is an expert at championing his ex, Emma Stone.

The co-stars broke it off in 2015, but Garfield never stopped rooting for his ex.

He called their mutual support for each other a “beautiful thing.”

We couldn’t agree more, Andrew!

There are some cases where exes need to get out and stay out.