To prevent the muffins from sticking, grease the pan well with butter or cooking spray or use paper liners. Allowing the muffins to cool for a few minutes in the pan before removing them can also help.