How to sell shares from demat account

How do I sell shares that are currently in my demat account?