Preventing household pests starts with denying them food and entry. Seal gaps under doors and around pipes with caulk or steel wool. Store dry goods in airtight containers, since flour and grains attract pantry beetles. Fix leaky taps promptly: drip lines are enough for cockroaches and silverfish. Inspect firewood near the perimeter of a house and keep it at least five meters from the walls.
