How to withdraw money from demat account

How do I withdraw funds from my demat account to my bank?