There have been studies which found playing tetris for an hour or two after seeing something traumatic can prevent it taking root in our longterm memory.
I tried it once after accidentally clicking a link on reddit that turned out to be gore, I can’t remember exactly what it was now (about 9 months later) so it must have worked