Gearmotor program

Welcome to these forums. Help for you is available but you have to help yourself first. You must do some homework on your own to gain an understanding of what to do to get yourself started in your endeavor. To do so, simply Google 'Arduino DC motor' and read. If you do so, you will then understand enough to allow you to proceed on your own, at least enough to ask specific questions. Your original post seems to request 'take my hand and do this project for me'. - Scotty