I received a capital gains bill for my home I sold in 2022

How do I file an amendment and avoid the tax bill