The cooking of polenta is a contentious issue that need not be explored in any great depth here. I use a Thermomix (
see method here), but for the vast majority of my readers that do not have access to such an appliance, I instead refer you to
this extremely comprehensive article on the best way to cook it. I suggest that you use the ingredients I have listed as they are specific to this application, but apply the recommended method.