It’s important to know when your friend might be inching toward an unhealthy mindset – and when it’s appropriate to step in and say something.