Analog input stability

I suggest to read the "How to use this forum" post and follow the directions.

Describe your project and explain the problem, giving examples.

Post a wiring diagram (not Fritzing).

Post the code, using code tags.