I sold a home in Maryland that I lived in for >5 years and cleared <$250K. Do I need too add this to income then deduct it? or leave it off income?

In 2024 I moved to Tennessee and established rresidency.