Sale of NQ Stock Options

I sold NQ Stock Options in 2021. The Income , Taxes and Capital Gains are reflected in my W2. When I enter my 1099-B for the stock options sale. I appears to count my income and capital gains and taxes twice. Do I have to enter a 1099-B for my stock options sale.