Swelling and toothache happen when you have a gum issue which leads to pain and discomfort. If you don't treat it immediately, it might worsen your oral health. Consult your doctor if you have extreme pain in your teeth.