How to purchase shares using demat account

Is there a specific process to redeem mutual funds held in a Demat account?,