Compost in a pile. Build a 3'x3'x3' pile of mixed greens and browns. Remember to keep the pieces small, because microorganisms decompose it more efficiently when the pieces are smaller. Add small amounts of water to drier brown items. Once your pile is established, bury new additions like salad scraps and eggshells at least 10" deep.