This used to always be my biggest worry about baking bundt cakes! The best method I have found is to use baking spray, which is different from cooking spray because it has flour in it. I also recommend waiting to spray the pan until just before filling it with the batter. For even more tips, King Arthur Flour has a good article about this.