Seal, caulk and repair areas where the beetles may be entering the home. This includes sealing and caulking around windows, doors and under siding and repairing broken screens. Gaps as small as 1/8 inch may enough for some beetles to slip through.
Keep your home clean. Vacuum rugs, upholstery and other fabrics, such as wall hangings, regularly. Loose natural fibers, dander and animal hairs are what many beetles are attracted to and if you keep your fabrics clean, the fewer problems you will have. Also, throw the vacuum bag away outdoors after vacuuming if you vacuumed up beetles or their larvae.
Store clean, unused natural fabrics, including sweaters, blankets and pillows, in air tight containers.
Sprinkle boric acid where beetles are coming into your home and in areas where the beetles are an issue. Use boric acid as instructed on the label. It is toxic, so don't use it around children and pets.
Place sachets of herbs, such as eucalyptus, pennyroyal, tansy or lavender, near where the beetles are an issue. According to New Mexico State University, this helps repel many insects, including beetles. Use with caution, especially around children and pets, because some herbs are toxic when ingested.