The best way to prevent your cake from sticking to the pan is to coat it with some avocado oil and then dust it with gluten-free flour. The cake will come out easily, without any mess.