While it is eaten fresh, most corn is dried, nixtamalized and ground into a dough called masa. This dough is used both fresh and fermented to make a wide variety of dishes from drinks (atole, pozole, etc.) to tamales, sopes, and much more. However, the most common way to eat corn in Mexico is in the form of a tortilla, which accompanies almost every dish. Tortillas are made of corn in most of the country, but other versions exist, such as wheat in the north or plantain, yuca and wild greens in Oaxaca.
Learn more on Wikipedia