Part of the anxiety associated with OCD comes from shaitan and his whispering (waswasas). We can relieve this partial anxiety by placing our trust in Allah. As Allah (swt) says:
“Verily, he has no power over those who believe and put their trust only in their Lord (Allah).”
(Surah An-Nahl 16 : 99)
(Surah An-Nahl 16 : 99)
Keep in mind, however, that not all OCD anxiety is from the waswasas. Other anxiety can arise because the person consumes caffeine (coffee, for example).