I sold my house in 2018. I did not declare the sale on my income tax return and I got a letter stating I owe the IRS $350,000. Is it an easy fix and what are the steps?

It was my primary residence and should have not be income.