if its a regular trade. then you must wait till the settlement date before u can sell that same stock. if you sell before this date it is considered as naked short selling. which is not allowed.