Noise , emi or false trigger

As I said, could be a software issue.
Are you using interrupts?

show schematic?

what button?

If you are driving this from contacts operated mechanically from a shaft have you considered switch bounce?

for the button, does it need an interrupt function?

Yes , Yes, I have calculated the bounce of the switch with the internal hardware pullup plus the software bounce button with millis()

I guess we need to see your sketch

that's my psu circuit from 12v battery

Maybe.
You need to post your code.

why does it have to interrupt?

Why? Who knows. Show us the program you are using. An interrupt for a switch would just set a boolean that shows the switch was set. Then your program would have to test that boolean to see if the switch had been pushed. So why not just test the switch?

No one said it need to.
Need to see your code or we can't help