Press the shortbread dough into the pan that you will be baking in. Dock the dough and prebake the shortbread crust. Once the crust is done, remove it from the oven and then let it cool completely before adding the filling.