How to apply for ipo through demat account

What is the procedure to apply for an IPO using my Demat account?,