Installing a sump pump, sealing the walls, adding flood vents, and installing a French drain system around your home will all help keep water out of your basement when heavy rains hit.