Sit on a chair or couch that keeps your legs parallel to the floor, have your feet flat on your floor with your hands either on your lap or on the couch/seat and sit like that to balance yourself out again.
But in a lot of cases if you smoke too much you just fall asleep so I wouldn't even worry about it