try this site for ideas http://www.organiccatalogue.com/
another good way is soapy water, depending on the bug you want to deter, then companion growing is a good idea; eg marigoldswith your tomatoes / beans deters black & white fly, even in the greenhouse.