How do I amend the earnings a prior year 2022 State return?

Earnings is grossly overstated and resulted in me having to repay.  I attempted to update but updates did not save.