How to sell shares using demat account

What is the process to sell shares using a Demat account?,