How to transfer from one demat to another

What is the correct procedure to transfer holdings from one demat to another?,