Prune off foliage with signs of whiteflies or other pest infestations. You can remove up to half the leaves on a growing tomato plant without damage. Do not remove growing tips or budding blossoms.
Spray the plant with an insecticide. Various types are available from garden stores. Check the label to ensure that the spray will kill whitelies, aphids and other common tomato pests. Always follow the manufacturer’s instructions.
Encourage natural insect predators in your garden such as ladybugs, spiders and parasitic wasps. The best way to do this is to leave corners of your garden untended so that a natural population will occur. Plant your tomatoes away from untended patches, which are likely to favor pests as well as beneficial predators.
Pick off caterpillars such as tomato hornworm and kill them.
Remove weeds from around the tomato plants whenever they appear. Weeds can encourage stink bugs, sometimes known as shield bugs. These insects feed on the leaves and the fruit.