Defense mechanisms are psychological strategies used unconsciously to protect oneself from anxiety and distressing thoughts and emotions. They operate automatically and often help people function normally without being aware of anxiety-provoking unconscious impulses or internal or external stressors. Common defense mechanisms include repression, denial, displacement, projection, rationalization, and reaction formation.