When it comes to obsessive-compulsive disorder (OCD), a common mental health disorder in which a person has reoccurring thoughts and behaviors they continually repeat, avoidance is often used as a coping mechanism. People with OCD may try to avoid unwanted thoughts or situations that may trigger their obsessions.