This may seem pretty basic, but you'd be surprised how many people ask me how to prevent a cake from falling apart when coming out of the pan. It only takes one or two disasters to learn that it saves so much time and frustration to do a proper cake pan prep. Hands down, the best way to do this is by using the following method.
1. Place your pan on the wax or parchment paper. Use a pen to outline the pan, then cut out the wax/parchment paper.
2. Generously spray the sides of your pan with a non-stick spray like Pam. (If it is a particularly difficult cake to work with, you could also dust the sides with flour too.)
3. Put the wax/parchment paper into the bottom of the pan. The spray will make the paper stick to the pan.
Now you can fill your pan with batter and bake. Just remember to take the wax/parchment paper off before frosting the cake!