Well, part of the problem meditation addresses is the desire to control one’s thoughts - which is usually counter productive. The more one tries to control and fight what is, the more pain that usually results.
It’s usually more productive to notice them, notice their nature, and let them go when and where they do not serve your interests. With a small pat on the head, and some not small amount of empathy and caring.
Which is hard of course, especially when there are real reasons for them. But if they do not help, it’s better for everyone.