Startup Deduction Timing

Hello, I started my small business as a sole prop in May 2020. I understand I can deduct certain startup costs. How far back can these startup costs go? The beginning of the same calendar year? 2 years? 20 years?