Speed control of DC motor with arduino

Since you pump is a "boost pump" it is designed to increase the water pressure of an existing distribution system. As such, it is designed to work for a short time even with the output blocked! So add a valve to limit the output rather than trying to change the motor speed. Total blockage should also trigger a switch to turn the pump off until the output is no longer blocked.