Deductions & credits

I just checked my 2009 return and the record the sale (capital gain) was NOT recorded.  Can I record the gain for 2019 or amend the 2009 return?  Please advise as to best course of action.  Thank You.