Ensure you generously grease the muffin tin with non-stick cooking spray or use muffin liners. If they still stick, running a knife or a thin spatula around the edges of the cups after cooling can help release them without breaking. You can also use parchment liners if you prefer like I do in my peanut butter cup cookies recipe.