1 bunch Swiss chard, stems removed and leaves chopped
2 tablespoons olive oil
1 small onion, chopped
2 cloves garlic, minced
Salt and black pepper to taste
1/4 teaspoon red pepper flakes (optional)
Juice of half a lemon
Grated Parmesan cheese (optional, for topping)