There are many variations of gum infection, and the treatment of the gums is a specialty known as periodontics.
If your gums are infected, you have some type of gum disease. Usually this is not painful. If it is chronic gum disease it will progress gradually and silently over many years without any symptoms until the teeth begin to get loose. Then it is often too late to treat and tooth extraction is required. While aging is definitely a factor in this disease, it can be prevented by keeping your teeth professionally cleaned, practicing good home care, and having your dentist carefully monitor the condition of your gums. If the signs of infection or disease are noticed early, the treatment is relatively simple and consists in a series of deep cleaning appointments to remove the irritants, including hardened tartar, that accumulate on your tooth under the gumline.
You may also have an acute gum infection known as Acute Necrotizing Ulcerative Gingivitis or Trench Mouth. This is caused by a combination of poor oral hygiene, poor diet, and stress. It can cause the gums to swell and become painful, and portions can turn blue or gray. It is treated with antibiotics and careful cleaning of the teeth.
Another acute gum infection is oral yeast infection or Thrush. This is caused by an imbalance in oral microorganisms resulting in a yeast organism that normally inhabits your mouth in moderate numbers to take over.
—Dr. David Hall.
Read more about antibiotics for tooth infection.