Using a UV sensor to control a servo

I'm working on an Arduino Uno for an engineering project. I'm trying to use the values from a UV sensor breakout to control a servo like a knob. I was able to correctly set everything up in terms of hardware, and I am able to read the values from the UV sensor using analog read, but am having trouble using it to control the sensor. The issue is that I can't program my way out of a paper bag, so I'm stuck at this stage of my project. If anyone could offer me any help or advice at all, that would be greatly appreciated. The code I currently have is included in the attachment.

UVCodeTry5.pdf (45 KB)

Please post your code using code tags </>