Can I still deduct it this year? I am a freelancer and didn't know I could deduct a class I took for certification in 2020.

I took a class in UX/UI and got my certificate in 2020. However when I filed my 2020 taxes last year, I didn't realize I could deduct the cost of that class. Can I deduct it this year since it still pertains to my career?