The best way to eliminate out-of-control populations is by insecticide, which can be purchased or applied by a professional exterminator. Beetles that have infiltrated homes and buildings through food sources can be eliminated by throwing out the contaminated items. Prevention is the best remedy. Try to keep grains and dried food products and tobacco in air-tight storage containers or refrigerated, especially in warmer climates. And if a beetle is discovered within the home, it is best to kill it and dispose of it rather than relocating it to a yard where it might try to re-enter the home. To specifically solve a carpet beetle problem visit How to get rid of carpet beetles.