The answer to 'how to prevent extermination' is to implement effective pest prevention and control measures in and around your home. This involves regularly inspecting for signs of pests, sealing entry points, removing food and water sources, and using targeted pest control methods when necessary.
Start by regularly inspecting your home both inside and out for any signs of pests like droppings, nests, or damage. Seal up any cracks, holes, or entry points where pests could get in using caulk, steel wool, or other durable materials. Remove sources of food, water, and shelter by keeping your kitchen clean, storing food in airtight containers, fixing leaks, and removing clutter. You can also use pest-proof containers, traps, or repellents in targeted areas. If you have a serious pest problem that you can't control on your own, it's best to call in a professional pest control technician.