compartmentalize

verb
  1. to separate into distinct sections or categories
  2. to isolate thoughts, feelings, or experiences from one another to avoid emotional conflict
  3. Usage: psychology

Examples