Air is the biggest enemy of food preservation, so the key to proper storage is investing in sturdy, airtight containers. BPA-free plastic is your best bet, since it has more flexibility, and can more easily withstand the rigors of freezing and thawing. Glass containers may be pretty and easier to see into, but they become exceedingly apt to break once frozen, and it really bites when you get shards of glass in your dessert. In the case of ice cream or frosting, if there’s a lot of empty headroom in the container after filling it, place a piece of parchment or wax paper directly on the surface before closing up the container, to help stave off freezer burn.