Baits can be made from kitchen products such as molasses, fruit, eggs, honey, fish, old meat, or even beer. Fermenting liquids made from yeast and sugars also make good baits. Coat the can with a sticky substance like petroleum jelly. Another way, is to cover the yellow can with a clear plastic bag. Cover the bag with the petroleum jelly and when the bag is covered with insects just remove the bag and replace it with another.
Some traps work on the principle that many insects are attracted to light.
Farmers have rigged up low-level lights around their duck pens so that the ducks can enjoy a constant meal of bugs. Light traps at home can include a light bulb strung up over a pan of soapy water. Another effective way to trap the bugs is by placing a flashlight in a bucket. Then, place a glass bowl of soapy water on top. When bugs fly into the light, they meet a soapy death.