If you're worried about the cake sticking in the baking pan, grease it really well with oil or butter. Then, sprinkle some flour inside the pan. Tap and turn the pan until all the surfaces are covered in flour, then dump out the extra.