How to buy shares after opening demat account

What are the next steps after opening a Demat account to buy shares?,