You can use either. If you use frozen, defrost the peas first, no cooking required. If you use fresh peas, cook them in boiling water for a few minutes until tender and bright in colour. Reserve some of the cooking water to achieve the right consistency in the puree.