The following is a digression for reference only.
There are three main measures to prevent food from becoming moldy.
One is to keep food dry. Sun drying, air drying, baking and drying can reduce the moisture in food; Food sealed preservation is a good way to prevent water from being absorbed by food in Huangmei air environment. The "traditional method" of absorbing water with dry lime is the most economical and practical method to prevent mushrooms, fungus, peanuts, red dates and other foods from becoming moldy.
Nowadays, many packaged foods have added desiccants, antioxidants, fungicides and mildewproof agents, which also have certain mildewproof effects. So, when you can't eat it all at once, don't throw away the "small bag". You should clamp the food bag with a "small bag" or put it in a sealed jar.
The second is low temperature preservation. Mildew will slow down at low temperature, so you can put food in the refrigerator. As the refrigerator is a special "drying box", it has dual functions of keeping low temperature and drying.
Methods to prevent food from becoming moldy.
The third is ventilation. Keeping ventilation in the storage of rice, flour and other foods can also greatly reduce the number of mold poisoning.
No matter food, clothes or other things, once they are moldy, try not to use them again. If you want to continue to use it, scald it with hot water, wash it again and expose it to the sun.