How to transfer the shares from one demat to another

How do I transfer shares from one demat account to another demat account?,