how to cope with different types of pests