if you have ants, puff some talc based powder where you see them entering from. The composition in Talc is too large for the ants and they will not cross it. You can puff around all your baseboards, windows, etc. to protect the whole house.
Kid and pet friendly, plus it smells nice :) You may need to repeat if you treat one area and ants find a new way in.