Because I use instant pudding mix, I don't need to cook it. Just mix it with cold milk and let it set for a few minutes until it thickens. Follow the package instructions for the best results.