Filing a T4 and as a Sole Proprietor

If I have had a full-time job this past year and have received a T4, but also from previous years I had a business as a sole proprietor where no income was made in 2020 (but there was income in past years) but incurred losses in 2020 to keep certain aspects of the business running for past clients how do I go about filing all of that in turbo tax?