How to open demat account

What is the process to open a demat account?