1. Choose some fresh pepper without wormholes.
2. After cleaning the selected pepper, put it in a cool and ventilated place to drain the water.
3. Peel garlic and slice it. Wash ginger and slice it. Wash pepper, star anise, cinnamon and fragrant leaves and soak them in clean water for about 1 minutes.
4. Pour a proper amount of water into the pot, add a proper amount of light soy sauce, take out the pepper, star anise, cinnamon and fragrant leaves, put them into the pot, add a proper amount of sugar, and boil them on high fire for about 2 minutes.
5. After the pepper is dried, put it into a clean container without water and oil, and put ginger slices and garlic into the container.
6. After the boiled water is cooled, pour it into the hot pepper, sprinkle with a layer of salt and seal it.