Need help to assemble my dc motor to my arduino w/ relay switch

My speed controlling potentiometer is having problems. Is there any other way to control speed? any ideas?