Swelling and pain in the upper teeth after tooth extraction may be caused by unreasonable diet after tooth extraction or infection and inflammation after tooth extraction. Swelling pain is usually a normal reaction after surgery, but may also be a pathological phenomenon, according to the cause of the choice of general treatment, drug treatment. 1. Unreasonable diet: such as eating too early after tooth extraction, or eating spicy and stimulating food for a long time, may cause irritation reaction, the symptoms may also involve the surrounding pulp, dental tissues, thus causing upper teeth swelling and pain. Generally, no special treatment is needed, and the symptoms will be relieved on their own after improving eating habits. 2. Infection and inflammation: If you do not pay attention to oral hygiene in a short period of time after tooth extraction, bacteria may enter the trauma, and if you do not reduce the inflammation in time, it may also involve the nearby pulp, gums and the upper dental bed, which is easy to cause redness, swelling and pain of the gums, etc. If the infection is serious, you can take oral hygiene medication. If the infection is serious, oral metronidazole can be taken, and then oral ibuprofen for pain relief when the pain is severe. Regular observation should be made after tooth extraction, if there is any discomfort in a short period of time, it is recommended to consult a doctor. Medications should be used under medical supervision.