I need some help for my game Engine!

Hello I need help with Blender.
So I made this 3D action game but I had some Issues I didn’t know how to fix.
So I fixed most of them and only this one remained for example the upward button to move forward, the U + Y to shoot when I press all of them together they go on [the character moves and shoots] and I don’t want that. I want either one of them to be disabled while the other is working and so is the opposite, please help.

Please show some code or screenshot of logic bricks or the blend file. Else it’s hard to guess what you did there.

Sounds like you need to change the controller from ‘AND’ to ‘OR’