How to create a program that controls the speed of a servo using a potentiometer using arduino?

Thank you sir for the tips. Searching for it now. hope to find an answer :smiley: