It's a question of value.
When we develop little rituals like you have - somehow and from somewhere we have put enormous importance into them because somehow we think that they are going to save us from something, protect us from something and so we VALUE them very highly and as a result they are very hard to stop BECAUSE they have been given such massive importance.
The solution is to give them less importance and to give more importance to something else (but not another ritual) instead.
So you ask yourself things like "I am really going to die if I don't do this?", "How is that possible?", etc. and really question the worthiness of the ritual so that it looks less valuable to you in your own eyes.
You can also make the ritual look a little silly by asking yourself "so how come no-one else needs to do these rituals?", "How come it doesn't happen to anyone else?", "How come its only protecting me?", etc.
Then when you've softened the ritual up a bit and made it look a bit silly you just ask yourself what you value the most, this daft ritual or freedom from the ANXIETY that the ritual is bringing.
Now you won't get "cured" straight away by thinking this, but you will take away some of the rituals POWER and the more you make the ritual look less valuable, a little useless and a little silly (if you can
) the less HOLD it will have over you, in time. Then the more you give value to something else, make something else look more important as well then the less you will tend to want to use this ritual to SAVE you and the less you will want to use it.
Then, one day when you are not looking, you will just realise that you have stopped. Not fully, only for a while, but just noticing that little break is enough, because you will SEE that you can forget the ritual and nothing bad happens!!
and once you SEE that then the ritual will become far less IMPORTANT to you - because it will have lost its mystical powers of protection - and when that happens then you just won't value it as much anymore - from that point on, and if you keep up the work, then the hold it has over you will be broken more and more, until eventually you stop bothering with it altogether.