You will be asked to continue wearing the stockings on both legs while out of bed for the first two weeks after surgery. The stockings help control the swelling in your legs while you are up and walking around.