Limit the time that the candy is in your house. This is the one occasion where procrastination is deliberate & makes sense. You’ll be less likely to eat it & replace or replenish the supply if you buy it the same day or just before the holiday.
Remember the candy you’d trade or throw-away as a kid? That’s the candy to buy to give-away! You’ll be less likely to partake if you don’t like it. And you’ll be more likely to give-away as much as possible!
Hide the candy somewhere else in the house, besides the kitchen. I put it in a dresser drawer in my spare bedroom. It’s best kept unopened in a room you don’t frequent & out of site in a closet or drawer; out-of-sight, out-of-mind.
Throw it away or give it away. Take it to the office, give it to the neighbors, or any other service-based business you frequent: hair stylist or nail salon. Either way, if you keep it, you’ll eat it & you’ll be the one to suffer.
If you have small kids, it’s your responsibility to reasonably limit their consumption. Sugar is for dessert, not breakfast & work to limit daily consumption. If your kids are older, encourage the same pattern. Only ask them to hide their candy from you in a place you don’t frequent: definitely not in the kitchen or pantry. The goal is moderation, enjoy themselves, don’t let them destroy themselves.