How to start a demat account

What initial steps are needed to start a demat account for trading?