You can sleep in a bed immediately. Generally, it's recommended to sleep in an incline or semi-reclining position after surgery.