Arduino Motors Shield Issues

@minahil0 please provide an explanation for why you have asked the exact question here as was asked previously on Stack Overflow:
https://stackoverflow.com/questions/69329939/arduino-motors-shield-issues