What happens if your house is damaged before settlement

What happens if your house is damaged before settlement