I found an article on relaxation techniques which you might like to read:
Relaxation Techniques for Stress Relief: Finding the Relaxation Exercises That Work for You
In the article they mostly discuss stress but I think this would work also for anxious thoughts such as you describe.