pus formation are the last stage of gums disease which known as pyorrhea. when the infection spread to the bone you will notice swollen gums with bleeding and pus formation. the basic treatment is scaling and polishing. if its in advance stage than gum surgery also needed.