Urban farmers must be aware of pests such as insects, rodents, and birds that could harm their crops. Various strategies can be adopted to prevent or control pest infestations, including crop rotation, companion planting, and the use of organic pesticides.