S Corp loss carry forward

Greetings all!  I have a S corp loss in 2018 and one in 2019. I bought houses and spent more than than my rental property's took in. This year though I expect to sell propertys and will have a gain. How can I pull those two years of s corp loss forward into my 2019 taxes? Thanks for any insight!