Speed control of DC motor with arduino

What are you pumping and why do you need to vary the speed?