Arduino nano crashes - please advise

I did test simultatneous swithcing of the relays but not for extended time. It is difficult to run this test because of the power draw on the system - it is an off grid system. I am keen to consider how to enhance the circuit design to eliminate the potential of voltage spikes. Could you suggest an approach to this?