If you’re using the apple pie filling you buy in cans at the store, there is no need to cook them before adding them to the pie crust. If you are making a homemade filling you may need to cook it beforehand depending on the recipe.