Regular W-2 employees are no longer (since 2018) allowed to deduct job expenses, including education. If you're self employed, you can deduct the cost, as a business expense, on schedule C.
If the courses were taken at a recognized college or vocational school (educational institutions eligible to participate in the student aid programs administered by the Department of Education), you can, instead, take either the Lifetime Learning Credit (but not the American Opportunity credit).
In TurboTax (TT), enter at:
Federal Taxes Tab (Personal for H&B version)
Deductions & Credits
-Scroll down to:
--Education
--Education Expenses and Scholarships (1098-T)
If your school is an eligible institution, you should have gotten a form 1098-T. Schools that only offer online courses usually do not qualify. Online classes taken at schools that also have classroom instruction usually do count.
See if your school is on the U.S. Department of Education’s Database of Accredited Post Secondary Institutions and Programs (DAPIP) or the Federal Student Loan Program list. (from IRS web site)
I find this tool easier to use, even though they say it's for 529 plans (it's the same list)
https://www.savingforcollege.com/eligible-institutions