Animation problems

I have an animation named spin, attached to my player.
At first it was giving me some errors, but then I changed the animation type in the Inspector into 1, but it still doesn’t work.

What can I do?

There’s not really enough information here to understand your issue - so your best bet would be to make use of the marvellous resources and tutorials for animation and setting up characters provided by the lovely people at Unity. Here are a few to start you off:

Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn - animation tutorials
Turn your character into a player! | Unity Blog - player tutorial - documentation
Unity Asset Store - The Best Assets for Game Making - standard assets with characters set up for you