To prevent sprouting, store potatoes with an apple. Keep them in a cool, dark place, away from onions. The ethylene gas emitted by apples prevents potatoes from sprouting, whereas keeping onions nearby causes them to sprout.