Reason for pus ozzing out from gums can be due to periodontal infection , broken tooth or dental cavities leading to endodontic infection or due to wisdom teeth eruption pericorontits . so before that root cause of infection has to be identifed and then treated along with antibiotic coverage.