How to transfer physical shares to demat account

What is the procedure for transferring physical share certificates into a demat account?