Before you make the final decision to buy any property, one of the best steps to take is to request a home inspection to be done by an experienced home inspector. You probably don't know how to ascertain the quality of the foundation or the condition the electrical wiring is, so having a home inspector conduct a visit helps you identify things that you should watch out for as well as things to note before you finally purchase the home.
If you need help finding a reliable home inspector, you should ask your neighborhood real estate professional for recommendations.