Using a pizza cutter or a sharp knife, gently trim the edges of the pastry before baking to ensure a neat appearance. Also, ensure to leave a small border when spreading the fillings to prevent them from oozing out.