How can I eliminate duplicate download from my financial institution on schedule D capital gains a d loss?

How do I eliminate duplicate electronic download of capital gain and loss on schedule D? I was informed that I had a corrected 1099 and down loaded it on top of the one that was in the tax return originally. I now have double the gain and loss. How do I resolve this issue?