When I had a lot of worries, I would, well, perseverate on them. Sometimes I still have the same bad thoughts going through my head. But I found writing them down allowed me to say, there! I can let it go from my head. I can forget and come back to those worries later.
I also found that writing caused me to think about my worries in a different way. The act of writing uses a different part of your brain. The solution may turn up at the end of my pencil.
Many times, I would think of a problem or an incident (and let’s face it, this is usually heartbreak) would come out in the form of a poem.
It is only in the last few years that I have learned that writing can be therapy (though I felt it). Writing can be a way to put your worries away for a while. I knew I would not be able to not worry, but I could write them down and then close the notebook up. I could take a break from worrying because I could always open that notebook up and work on my worries. Yes, they would still be there, but that gave me a sense that I could set them aside for a while.
With practice I could take longer and longer breaks from my worries. Eventually, I got to the point where I could write my problems down and then wait for a solution without the worrying.