After a hair transplant, sleeping in a semi-upright position for the first few nights is advised to prevent swelling and damage to the transplanted area. Use a neck pillow or reclining chair to maintain this position.