Both work! Canned puree is convenient and readily available, while fresh pumpkin offers a slightly richer flavor. If using fresh pumpkin, roast and puree it yourself before adding it to the recipe.