You hurt yourself (or someone else hurts you) and the nerves pass the information to your brain, explaining you should be hurting, then the brain sends back pain through the nerves the the hurt area,...
Yes, like any surgery having your tonsils removed can be quite painful. The amount of pain depends on your own pain threshold i.e. how much pain you can tolerate. You are given medication to reduce...