how to replace dc motor with servo motor

I'm confused: your subject line says "replace servo with dc motor" but the body says "replace 12v DC motor with a servo motor"