human
How do I get rid of fruit flies in the kitchen?
assistant
The best way to get rid of fruit flies in the kitchen is to remove any sources of food or drink that may attract them, such as uncovered fruits and vegetables, open cans or bottles, and food crumbs. Then, discard any old produce that may have collected in the kitchen, as this can attract fruit flies. Clean up any spills and wipe down any surfaces that may have food residue on them. Empty and clean the garbage can on a regular basis and use airtight containers to store food. Lastly, consider using traps to capture existing fruit flies in the kitchen.