Please post a proper, hand drawn circuit diagram. Pictures of components are for young children. Also post your code properly, following the instructions in the "How to use this forum" post.
Since your problem very likely has to do with failure to properly decouple the power supply or use kickback diodes and noise reduction capacitors on the relays and actuator, be sure to include in your schematic any diodes and capacitors that are present.
Example of motor spike and noise reduction connections:
