To prevent being overcome with anxiety because of trying to satisfy the id and superego demands, the ego uses what Freud called “Defense mechanisms” - processes that distort reality and protect us from anxiety.
•Just as the body has the immune system, the mind also protect it from harmful, threatening, anxiety-caused thoughts and feelings.