@Shopiya - Yes this is a common example of an intrusive thought; having a particular word, phrase, or fear come up over-and-over again in your head, and being afraid about what that means.
Intrusive thoughts are fueled by our resistance to them. The more we try to get rid of them, the more they pop up. This is known as the "ironic process." Simply put, if you wish for a thought to go away, you actually end up telling the brain to be more alert for that thought, so you notice it more often.
While it may sound strange, this means that the best thing you can do is to stop trying to get rid of those thoughts. Rather than wishing for them to go away, you want to practice not caring about them in the first place.
There are different techniques for doing this. The simplest to try on your own is to respond with "maybe, maybe not." So if someone's name pops up in your head, and you fear that they are going to get into an accident because you're thinking of them, simply respond: "maybe, maybe not."
You will most likely feel anxious, and you'll feel an urge to do something (like check how you feel about the name, or try to figure out why the name keeps coming up).
It's important that you don't give in to that urge, and to keep disengaging from the thought. Instead, focus your attention on how you physically feel, even if you feel uncomfortable. You don't have to do anything, just be aware of how your body feels in the moment. Even if the thoughts repeat in your head 1000 times while you do this, let them be there and focus your attention on your feelings.
As you practice this, eventually you will notice that the uncomfortable feeling will start to go away on its own, without you having to get rid of the thoughts. In other words, you will prove to yourself that the thoughts aren't the problem. That will make it much easier to stop caring about them. As you learn to not care about them so much, you take away their power. As you take away their power, they happen much less often.
This is the basic idea behind ERP therapy (exposure and response prevention). It's not easy, but it's very effective. An OCD therapist can help guide you through it, and come up with exercises tailored to you specifically. I would suggest speaking to one if you aren't already, and if you're able to.
If not, you can read more about it here: https://www.treatmyocd.com/what-is-ocd/what-is-erp
I hope this helps!