In a large skillet, heat some olive oil. Add the onion and sauté until translucent, around 5 minutes. Then add the garlic and sauté for about 1 minute.
Add the chard and stir to combine. Cover the pan and sauté until the greens are dark and soft, around 5 to 7 minutes. Remove the cover and let the liquid evaporate for 2 to 3 minutes.
Remove from heat and add salt and pepper to taste (be careful not to add too much salt at this point!).
In another skillet, heat a bit of olive oil and fry the eggs.
To serve, place a scoop of polenta in a bowl, top with greens and egg. Sprinkle with cheese, salt, and pepper.
Notes
Inspired by Jack Bishop in The Complete Italian Vegetarian Cookbook