How can i close demat account

What are the steps to close a demat account permanently?