Journaling is an effective way of getting thoughts out of your head. It puts them in a neutral place where emotions can be separated from what you’re thinking.
The past is littered with negative emotions. It’s also charged with positive emotions. When negative memories come to the forefront replace them with memories that make you feel good. This is a good practice if you want to avoid negative emotions such as guilt and shame.