Shield bot right motor issue

Thanks for responding, I tried to power the motor with 5V and it works, I also tried to write my own code but it still doesn’t work.