What to Look for in a Home

What should you look for before you decide to purchase your next home? What are some red flags to be aware of? How can you avoid major issues with a home?