To prevent sticking, use a non-stick cooking spray or butter the pan thoroughly. Additionally, dust it with flour after greasing. This creates a protective barrier, ensuring the cake releases easily. Let the cake cool for about 10 minutes before inverting it onto a plate for best results.