What precautions do you need to take before buying a property?