Ruminating is a habit where you keep thinking about recent upsetting events in an obsessing manner. It is a dangerous activity that can lead to depression, but there is something one can do about it: a quick distraction (even a 2-minute one), every time you start thinking about these things, can change the habit.