Seeing winged carpenter ants in the home usually means that there are other carpenter ants with and without wings nesting nearby. There are a few simple ways to get rid of them using some basic household items.
Use bait to eliminate the ants
Mix 3/4 of a teaspoon of borax with 6 tablespoons of honey and 4 tablespoons of peanut butter. Place the bait on 1 inch strips of masking tape throughout problematic areas, and allow the carpenter ants to bring it back to their nest. Replace the bait as necessary.
Spray them with white vinegar
White vinegar naturally repels carpenter ants, so spray them and their nest if possible.
Surround the home with a chemical insecticide
Spray the perimeter of the home, between 2 and 4 feet, with a spray made specifically for carpenter ants. Do this during the spring and the fall, following the manufacturer's instructions.
Carpenter ants make nests in damaged or damp wood, so remove any from the interior or exterior of the house. Remove soil, mulch, and other organic plant material if necessary.
Repair home damages
Carpenter ants can get through structural flaws, broken screens and other crevices. Walk around the home and repair any issues that may be allowing carpenter ants access.