Your cakes won't stick if you have a high-quality, well-made pan that you grease and flour well. Apply Baker’s Joy or a homemade equivalent of baker's release spray to your pan for easy removal. If you've done that but still have issues, consider purchasing a new pan. As pans age, they can lose their ability to conduct heat as well as they once did. However, if you clean your pans with warm soapy water between uses, they should last many years. Never wash them in the dish washer. That'll damage the pans' coating, which helps them release baked goods.