If you don't sell the shares you bought in Intraday,It will be automatically Squared Off at around 3:00 PM-3:15 PM.
If you want to retain the shares,then as mayur7777 said,you need to convert them to delivery which results in high brokerage generally....