How we deal with our daily hassles can profoundly affect our health and relationships. Here’s how to do better.