If you don’t have capital gains to offset the losses, you could Deduct $3,000($1,500 if you're Married Filing Separately) of the loss in tax year 2024 and carry forward the rest to future years.
TurboTax will automatically generate and fill out Schedule D when you report 1099-Bs and other capital asset sales. Line 16 will be your total loss and line 21 should be a max loss of 3,00/ $1500. The difference between line 16 and 21 is the carryover loss for next year.