You should get a professional home inspector to determine if there is water damage and the extent of the damage. A contractor can estimate the repair cost.