In general, pies and tarts with custard-based fillings, such as pumpkin pie, do not freeze well. Store them in the refrigerator, unless they will be eaten within a few hours of baking. Remove from the refrigerator about 30 minutes before serving. Refrigerate cakes with whipped cream frostings immediately and those with butter frostings within 2 hours.