Compartmentalizing and concentrating on what you can control are effective ways of dealing with problems.