Messed up wash sale.

My investments are with Fidelity and I use Turbo Tax to file.

 

I need help dropping the loss I used to offset gains .

 

On 12/19/22, I received a Fidelity SOXX dividend of about $218 which was reinvested into SOXX the same day (I did not realize that that happened).

 

On 12/21/22, I sold about $35,000 of the SOXX (at a $10,000 loss).

 

In the following months, I filed my tax return, including Schedule D, via Turbo Tax. By then I had seen my wash sale violation but assumed that the Fidelity forms I imported took care of everything. But they did not. I did not realize that I was not supposed to use the loss against my gains.

 

At this point, I do not know how to amend my return, or what I should do.