I'm 13 years old and im getting my tonsils out soon and adenoids. how painful is the surgery afterwards?

how much time will I have of school?? What can I eat??