Keep basements, laundry rooms, and bathrooms, especially shower stalls, clean and dry. Plug or putty holes or spaces around pipes. Repair leaks and drips in plumbing. Clean out closets periodically. Collections of magazines, papers, and books provide food for them. If you are encountering a particularly resilient silverfish infestation, call a pest management company.