Pulse the corn in a food processor, skip this step if you prefer the whole kernel.
Melt butter in a medium saucepan over medium heat. Add corn, heavy cream, salt, pepper, and sugar. Stir to combine.
In a small bowl or large measuring cup, whisk together the milk and flour. Pour into corn mixture and stir to combine.
Cook, stirring constantly for 4-5 minutes, or until thickened and corn is cooked.
Season with additional salt, pepper, sugar, cayenne pepper and/or nutmeg if desired.