how to reduce the electrical noise

mixania:
I think a pull–up resistor between a pin and VCC would help.

Which pin and VCC ? sorry im very new to arduino land.