Get your taxes done using TurboTax

The stock loss is used to offset any capital gains and then up to a maximum of $3,000 is deducted from your income.  The rest is carried over to the next year.