even if I'm not pressing the button it automatically start using shield bash even
I don't know this controller, but please clarify: Even if you're not pressing L2, your knight will suddenly start shield-bashing?
Does this sudden shield bash happen at the same time that you press some other button? Maybe you have multiple buttons assigned to shield bash.
Or are you saying that your knight spontaneously shield-bashes, even when your hands aren't on the controller?