There’s a good kind of distraction and a bad kind. Here’s how to tell the difference between them