Hire a home inspector to inspect a new house before you move in.