To avoid dampness and flooding in a basement, you should: clean gutters and downspouts regularly, seal cracks in the foundation, install a sump pump, properly grade the land around your house, cover window wells, use a dehumidifier to control humidity levels, and address any leaks in plumbing pipes ...