So I've been trying to make potentiometers work properly and I never could
So basically I wire a potentiometer to A0 on an Arduino Uno and I go into the Arduino IDE to and i write a sketch that display's the potentiometer's value
It would help to know the value of the potentiometer.
It would help to see the schematic.
It would help to see a photograph of the wiring.
It would help to see the complete sketch.
It would help to know whether the blink sketch or other sketches work.
How random? If it’s within a small amount of variation a capacitor could help. For the analog pin and power supply. That will smooth the AREF and signal to the ADC