Configure hori arcade stick

hi

I bought a hori fighting stick mini. It is detectee by windows 10 but not working in retroarach. What is the best way to configure or enable it in retroarch?

I’m a beginner