Good housekeeping practices such as keeping foods in sealed containers and areas free of spillage and crumbs will prevent ants, as will sealing of openings where ants may enter from outside.