Are they pantry moths? We had an infestation a few years back, there were webbed nests in the cupboard and the little maggot like things in our dry goods and then moths that likes to sit on the ceiling.
We got rid of all dried goods, all pasta, rice, cereal etc. All new stuff got put in sealed tubs and jars. We got sticky traps for the moths on the top of our units, cleaned all units and think we used vinegar spray to kill visible moths. Took a while to get completely clear