Cook Bacon: Heat olive oil in a large (12-inch) skillet over medium heat. Add bacon and onion. Cook for 5–7 minutes, stirring occasionally at first and more frequently toward the end, until the bacon is browned and the onion is tender. Make sure the bacon is fully cooked since it won't brown much more after this step.
Add corn: Reduce heat to medium-low. Add frozen corn, butter, salt, and pepper. (I start with 1 tsp salt & 1/4 tsp pepper; see note 2.) Cook for 3–5 minutes, stirring frequently, until the corn is heated through and the butter has melted.
Thicken: Sprinkle flour evenly over the corn and stir constantly for 1 minute. Gradually pour in the milk while stirring. Bring to a gentle simmer and cook, stirring frequently, until the sauce thickens and coats the corn, about 2–3 minutes (see note 4).
Finish: Once the sauce thickens, remove the skillet from the heat and gently stir in the Parmesan until melted. Taste and adjust salt and pepper, then add sugar if you'd like a sweeter creamed corn (see note 3). Top with additional Parmesan and fresh herbs, if desired. Serve warm! The sauce will thicken as it sits, so stir in a splash of warm milk as needed to loosen it.
Notes
Note 1: Skip the canned grated Parmesan. It's saltier and doesn't melt as smoothly. For the best results, finely grate Parmesan from a block.Note 2: Bacon and Parmesan both add salt, so season gradually and adjust to taste.Note 3: Corn varies in sweetness, so add sugar gradually, tasting as you go. You may not need any!Note 4: The sauce should coat the corn without pooling in the skillet. If it gets too thick, stir in a splash of warm milk until creamy.Storage: Let cool, then transfer to an airtight container and refrigerate for 3–5 days. Reheat gently, stirring in a splash of milk as needed to loosen the sauce.