Heat a multi-functional pressure cooker (such as Instant Pot®) on the normal slow cooker function.
Combine corn kernels, cream cheese, and milk in the Instant Pot®. Cook until cream cheese has melted, stirring often, 5 to 8 minutes. Stir in sugar, salt, and pepper and adjust seasoning to taste.