1. Preheat your oven to 375 degrees F (190 degrees C).
2. In a large skillet, cook the ground beef over medium heat until browned. Drain any excess fat.
3. Add the chopped onion and minced garlic to the skillet and cook until the onions are translucent.
4. Stir in the taco seasoning, corn, black beans, and salsa. Cook for an additional 5 minutes, stirring occasionally.
5. Transfer the beef mixture to a greased 9×13-inch baking dish. Spread evenly across the bottom.
6. Layer shredded cheese over the beef mixture.
7. Arrange tater tots in a single layer on top of the cheese.
8. Bake in the preheated oven for 25-30 minutes, or until the tater tots are golden brown and crispy.
9. Serve hot, optionally topped with dollops of sour cream.