One headache, one search, and suddenly your mind is writing the worst-case story. I know that spiral well. Here is one tool that helps me slow it down: the probability test.
First, write the scary prediction in one plain sentence. For example: "This headache means something is seriously wrong."
Second, rate how much you believe it, from 0 to 100.
Third, ask what the real odds are. What are the most common, ordinary reasons for a headache? Write down at least two.
Fourth, and this is the hard part: do not check one more time. Every extra search feeds the loop instead of ending it.
Now rate your belief again. It usually drops, and that gap between the first number and the second is the proof that your mind was telling a story, not reporting facts. If a symptom keeps coming back, make one appointment with a doctor instead of forty searches.
This is just one of the 20 techniques in my book, Stop Overthinking, and there is a lot more inside for the nights when this one isn't enough. You can find it on Amazon: https://www.amazon.com/dp/B0H8B1VC59