Business & farm

I received a 1099 NEC for the first half of the year and a w-2 for the second half.  My vehicle was a gift so I didn't take depreciation as an expense.  I used standard mileage.  I traded my vehicle in 12-20  no longer self employed.  Do I claim amount of trade