Once cooked and cooled, you can either freeze the whole cob, or break off the corn kernels and freeze those. Tightly wrap the whole cob in a few layers of foil, or place the kernels into a freezer bag and remove all the air. You can then freeze the corn for up to 6 months.