arduino with relay

Hello everyone, In my current project I have to control four solinoids which operates in ac supply. The components I have used are arduino uno, relay , lcd display and switches.We can set on time for each solinoid using switches which can be seen in display. The interval can be some seconds or some minutes. I have programmed the arduino and everything is working fine until I connect load on output.When the load is connected the display gets blank but the solinoids are getting on as the time previously set.If I want to set the time for any solinoid then I have to reset the arduino and then set it then again the problem comes when I am connecting any load. Can anybody help me in this ? What can be the problem any guess.

pAbel:
Can anybody help me in this ? What can be the problem any guess.

My guess would be that someone will soon ask you to post a non-fritzing schematic or a program, in </> code delimiters, or both.

dougp:
My guess would be that someone will soon ask you to post a non-fritzing schematic or a program, in </> code delimiters, or both.

Not to mensh details of the relay and the solenoids.

Hi, Typical Arduino problem with ElectroMagnetic Interference (EMI). Here are a couple of helpful pages:

http://arduino-info.wikispaces.com/RelayIsolation

http://arduino-info.wikispaces.com/Arduino-Project-Planning-Electrical