Freeze them individually on a baking sheet first, then transfer to a container or freezer bag.