I need help with a controls problem

So, what happens to me is that when I press the b button with the xbox layout the game pauses and even if I unpause it, it is impossible for me to play because every time I use the b button the game pauses instead of performing the action (it should be noted that the same thing happens with the snes layout in the same place where the b goes with the xbox layout) does anyone know how to fix it?