If the cake is burning on the outside but remains raw inside, I lower the oven temperature and cover the cake with aluminum foil to prevent further browning. I then continue baking until a toothpick inserted into the center comes out clean.