Cook the compote. Pour boiling water over the washed apples and leave for a few minutes. Place them in a saucepan. Bring to a boil. After boiling, reduce the heat to medium and cook for 10 minutes. Remove from heat. Let the compote cool completely and infuse, remove the apples. Add sugar to taste and stir.