real estate sale

I inherited an empty in a state other than where I live, kept it for 7 years, and sold it.  How do I report it for tax purposes?