I have 4 course categories , How can I use different templates for each courses (MOST IMPORTANT)

I have 4 course categories , How can I use different templates for each courses (MOST IMPORTANT) , taxonomy is not working for me