OCD and anxiety are separate mental health conditions with distinct symptoms. However, a person can have OCD and anxiety at the same time. Stress and anxiety can cause OCD symptoms to worsen.