I have a short term loss carryover from 2022. can this be applied only to this years short term gain or can it be applied to long term gains?is this clear?

how is the carry over handled on turbo tax?