How to use servo motor from analog pins

How to use servo motor from analog pins in arduino uno. As all my pwm pins are used up. By thecway i have digital pin 8 and 13 left also. I am using arduino uno. I heard that we csn use analog pins as pwm by some library. If so please tell how to use it in detail. Other suggestions are also welcomed.

Do you mean servo or DC motor? Servos aren't driven using standard PWM. Generally you use the Servo library and that works with any pin including the analogue pins. Servo - Arduino Reference

Steve

Thank you. I will try it