How to buy and sell shares using demat account

Is there a guide to trading shares through a Demat account?,