Where do I claim rental loss from previous years?

I have a rental property that incurred a loss in 2020 which was carried forward to 2021, this past year the property made a profit, how can I apply the loss against it? Thanks!