I'm sorry for that bad experience. If you were instructed to change tools or given a warning prior to termination, the termination might be justified on grounds of insubordination, but not on merit.
Either way, that place you just left carries a bigger red flag than you.
> I'm not sure what to do next.
Keep learning, get more experience, apply to the next job.