Keep the heat on medium-low and stir frequently, especially as the mixture thickens. A heavy-bottomed saucepan helps distribute heat evenly to avoid scorching.