Repeating myself when I'm upset

I keep finding that whenever i'm upset I keep repeating myself over and over and I can't stop. For example, I was upset that I couldn't find a job, so I kept repeating: "I need a job" over and over and then repeating all the reasons I couldn't get one and why I was frustrated. I couldn't stop. When I got a job I would do the same thing for other phrases and situations "My girlfriend is going to break up with me". "I need an internship", I cant seem to move my mind and its breaking up everything good in my life. Is there any way I can stop this, any coping mechanisms, strategies or indication that this is a bigger problem. I have a good life but I cannot tear myself away from doing this, when I dont repeat myself I repeat variations of my problems.

reddit.com
u/Constant_Spell_1613 — 3 months ago