How to control actuator speed and direction using potentiometer

I haven't been reading whats on this post
ive only been searching online