I received 1099 nec from my employer, even though they withheld taxes last year. am i going to get taxed twice now? Shouldnt i get the withholding back if im on 1099 now?

my last paystub says $831 was withheld for taxes, but i still got a 1099. Is this legal? am i going to have to pay self employment taxes on this as well?