Carpenter bees aren't like other bees that live in hives. They are drawn to wood, and consequently wood decks, and like to live in the holes that the female bees make in the wood. If you have a carpenter bee problem but don't want to pay an exterminator to take care of it, there is a method you can use to repel the bees from your wood deck. The key is to stay consistent with the technique until all the bees have gone away.
Identify any small holes in the wood deck that were created by the bees and take note of their locations.
Stand 6 to 8 feet away from the deck and spray all the affected areas with a bee pesticide spray. Make sure all holes are completely saturated with the pesticide.
Wait for a day and then spray the deck again using the same method.
Continue spraying the deck every other day until the bees are gone.