Grain storage insects may be beetles, moths or flies (and others). Regardless of the type you first must remove infested food. Then clean affected areas like your cabinets or pantry. It must be very clean because they can feed off of even small amounts of food. Freezing or refrigerating flour and other dry goods may also help.