If you don’t use up the whole squash/pumpkin, you can cut it into smaller pieces and freeze. Then, Cook directly from frozen when you are ready to use. You can also wrap up the leftover in cling film and store it in the fridge; it will last around a week like this.