how am i supposed to do the self employed deductions over multiple unpID YEArs? what do i need to know

i work for gig economy apps, usually a few months or weeks out of the year. my car was stolen this previous year so i couldn’t work as much. i’m looking into doing my unpaid previous years and i dt know to go about getting the best deductions and payments for previous years.