If your appendix was not perforated (ruptured), you would leave hospital 1-2 days after surgery, provided there are no complications.
Pain is manageable with oral analgesics. You will be able to eat and drink normally.
If your appendix had been perforated, you would need to stay in hospital for longer, receiving intravenous antibiotics (via a drip).
Normal activities, including work, can generally be resumed 1 to 3 weeks after surgery. Longer if you do physical work (your doctor will advise).