Bumblebees (genus Bombus) nest in the ground, usually in abandoned rodent nests, and live in social communities. Carpenter bees (genus Xylocopa) are solitary bees that burrow into wood.
Male carpenter bees cannot sting. Female carpenter bees can sting, but almost never do.
Your best defense is a good offense. Carpenter bees prefer to excavate untreated, unfinished wood. You can prevent carpenter bees from nesting in the first place by painting or varnishing your home's exterior.
If an infestation has occurred, you will need to use an insecticide to eliminate the carpenter bees. Many professionals recommend sprays or dust, which can reach the interior surface of the entrance holes. Apply the pesticide at dusk, when carpenter bees are less active.
Locate the Nests
Wait Until Dark
Apply the Insecticide
Wait a Week