Stock loss carryover

When you lose money in stocks, I know you can offset that against what you gained.

And also, against some of your regular income.

If you lose more in stocks than you made from them in the tax year, and it is more than allowed against your income for that year will Turbo tax keep track of your loss for future tax years and if so, how many tax years?

Or will it be until it is used up against your income?

Thank you