floresta:
A photo will be helpful as well.Your problem stems from the relay and/or the motor. You can verify this by temporarily substituting an LED (with current limiting resistor) for the relay coil at the output pin of your Arduino.
Use the stealth search box at the upper right and look for terms such as 'LED garbage', 'LED weird', etc. There are lots of previous threads about this, typically dealing with the power.
Don
Problem roots are in relay as i tried to switch relay while not switching ac everything on lcd is fine only when i switch ac from relay lcd start showing garbage values and sometimes the system would stop and other time it would work fine.I then searched at google and found out it is sonething electro magnetic interference and tried other people ways of dealing it bit nothing worked out.