unstable inputs

I faced the same problem , i fix it by using 10uf Cap between INPUT_Pullup & GND

weedpharma & Wawa Completely Right but use 10uf