How to invest in mutual funds using demat account

What are the steps to invest in mutual funds using a Demat account?,