Takes a bit of effort to be honest. It's more of a battle between mind and heart. I consciously started getting along with people who have completely contrast opinions and habits as that of mine just to hit the middle ground coming back from an extreme of something I firmly stood for few years ago. Today there are a few things I would never want to get back to since I've evolved from then, obviously through unlearning.
Like they say, you're the average of the 5 people around you, I kept choosing those 5 continuously and consciously who can help me evolve into something better (or different) in the direction I want to go at every phase.