After you file

You should amend.  The IRS might just see the whole sales as a gain and not know your net loss.

 

Has your 2021 original return been Accepted? You need to wait for it to fully process and you get the first refund. Then you can Amend. So it might be a long wait. And it's too early. The Amended 1040X return is scheduled for March 17, 2022.

 

How to Amend
https://ttlc.intuit.com/community/amending/help/how-to-amend-change-or-correct-a-return-you-already-...