I prefer to line the pan with nonstick aluminum foil, or regular foil sprayed with nonstick cooking oil. Press the foil into the corners and secure it on the edges, so nothing moves during baking. Parchment paper is also an effective pan liner, but it tends to shift as you spread the batter into an even layer in the pan.