How Can I Paint My Previously Stained Door?

I am looking to paint my front door which was previously stained. Will it be ok to sand, apply undercoat and then paint? Or will I need to strip it and prime it as well as undercoat it. P.S. I am using a Satin Finish paint for my top-coat.