Cameron Diaz joked 'boozin' it with the girls' is the best way to deal with an unfaithful boyfriend.

The actress admitted she has learned to be more mature over the years and insisted now she would know when to leave if a partner cheated on her.

Speaking to MTV News about how to cope with a breakup, she said: ''Boozin' it with the girls ... [Or] just walk away.

''In my wiser years, I know now you just walk away ... [I would] do something good with my life. After I sobered up.''

Meanwhile, Kate Upton - who stars alongside Cameron and Leslie Mann in 'The Other Woman' - handed out some advised on how to get revenge as you're walking away.

She joked: ''Wear some tight pants. Change your number, don't give them a chance to explain themselves.''

Kate knows the heartbreak that comes with an unfaithful partner, having recently revealed her own experiences with cheaters.

She admitted: ''I definitely have been cheated on. Everybody's been through betrayal some way or another in their life. You're heartbroken and you have to heal that.

''I personally think the best revenge is just walking away and not wasting another second of your time with someone who's clearly emotionally handicapped.''