defense mechanism n
1) an often unconscious mental process (as repression, projection, or sublimation) that makes possible compromise solutions to personal problems
2) a defensive reaction by an organism
* * *
a usually unconscious mental process that serves to relieve conflict and anxiety arising from one's impulses and drives, e.g., compensation, conversion, denial, rationalization, repression.Medical dictionary. 2011.