Get your taxes done using TurboTax

See https://www.irs.gov/taxtopics/tc409

 

You can use capital gains to offset your capital losses and then use up to $3,000 in net capital losses to offset all other types of income.