either cook them all the way through (on a lower temp so the pastry doesn't over cook) or don't cook at all - just cut them up and freeze, defrost and cook when you want them