To prevent cement bags from hardening or going lumpy, store them where they will not get wet from rain, excess humidity or condensation and do not stack too many bags on top of each other, which compressed the cement inside the bags. Check out the full guide for more detail on the best way to store cement to prevent it from going hard or lumpy.