control dc motor with relay

hello! how i create a control dc motor with relay. i would like control the rpm to dc motor, but i use relay for this motor.
also where i put the pin of this relay? in pwm pin or digital pin?

thank you!!!

You're going to need more than just a relay - at least a transistor.
What is the motor?

is simple dc motor. not step motor or servo motor.
i use this relay http://cgi.ebay.com/16-Channel-12V-Relay-Module-Arduino-PIC-ARM-DSP-PLC-/250843109516?pt=LH_DefaultDomain_0&hash=item3a676a188c

PWM works at frequencies far higher than a mechanical relay can switch. A transistor or MOSFET would be appropriate to drive a motor with a PWM signal. Think there are examples on the website.

PWM works at frequencies far higher than a mechanical relay can switch

Can you still get hold of mercury-wetted relays? ]:smiley: