Babetoo:
Pantry moths--first, you need to take everything out of your pantry, especially grain products, like pasta, rice, crackers, flour, dog food, birdseed. Some spices may have pantry pests, too--especially chili powder or paprika. Check for webs or worms in OR ON the packages--if you find them, discard those things OUTDOORS. If you have packages that don't have insects in them, put them in the freezer for at least 48 hours.
Wipe out and vacuum your cabinets and wipe off cans and bottles. Check carefully around the lids of glass jars or cans--sometimes the larvae will make webs there. When you replace items into the cabinets, use glass or heavy, airtight plastic for all grain items. You can buy pantry moth traps on line, but keeping things in glass works well, once you get rid of the source of the bugs. (Bugs, either beetles or the moths, come from eggs in the grain itself. Freezing all grain products for 48 hours kills the eggs.)
I have found pantry moths in dog biscuits that somehow fell out of the bag and landed behind seldom used pots and pans, and even in the grain that is in mouse poison, so look everywhere.