12V DC Gear motor with 1200 rpm

Which Arduino? How is it connected? What are the power supplies?

Post your code please.