Hello,
Follow the WordPress documentation https://developer.wordpress.org/themes/template-files-section/taxonomy-templates/
Regards