When you go into the hospital because of appendicitis you have to stay in the hospital for 1 to 2 days or until the doctor feels you're feeling good enough to go home.
When you do get home from the hospital for appendicitis you should wait from 2 to 4 weeks to fully recover and get back to your normal activities.
So take things easy for those 2 to 4 weeks after leaving the hospital.