Trade School

If my trade school isn’t accredited can this affect me negatively on my taxes?