One can sell the allotted shares on the day of listing itself.
Go through the below link to know more about IPOs.