<s>[INST] I’ve been having a pain right on my left temple that feels like the worst headache of my life for the past couple of months and also an infected tooth on the same side. I can't sleep because the pain hurts so bad it keeps me up. I've gone to the hospital, a headache specialist, and 3 different dentists. The only thing that has completely relieved this paid is when the dentist numbed my tooth and Penicillin the 2 different times I've taken it. I'm wondering if the Penicillin is stopping my infection in my tooth and that's why my headache goes away. Can an infected tooth be causing this pain in my temple? [/INST] Hi Dear,Understanding your concern. As per your query you have infected tooth which could be due to abscess, pulpitis and dental caries. Yes infected tooth leads to headache due to associated nerve supply.Need not to worry. I would suggest you to consult dentist once. Doctor may perform oral prophylaxis . Doctor may take x-ray of tooth to confirm the diagnosis . Doctor may also check the tooth for tenderness and check level of infection . If infection has already affected the pulp then doctor may recommend root canal therapy along with crown on it. For now do warm saline rinses several times a day and maintain proper oral hygiene. Take proper course of antibiotics to subside infection.Hope your concern has been resolved.Best Wishes,Dr. Harry Maheshwari </s>