tips for knowing when to buy a home