As you have a trading and demat account with the discount broker, you need to apply in IPO via ASBA. Log in to netbanking, under investment option, select invest in an IPO. Now you need to provide your demat account number. After allotment, your shares are going to deposit in your demat account. You can sell them from your discount broker trading account.