Cooking spray is probably the easiest way to grease a muffin pan, but it's not necessarily the best way. I find that melted butter applied with a pastry brush, or wadded up paper towel works very well at keeping muffins, pie crust and anything else you baking in a muffin tin from sticking.