Retirement tax questions

Do I need to amend the 2022 return? Can I entered code "8" and "J" and entered an explanation

that I mistakenly contributed to 2022 ROTH and requested that the funds be sent back.

 

Thanks for your help.

 

CS