During your first visit, the dentist will take a complete medical history for infected gums, swelling gums, and filling that becomes damaged, abscessed or fractured tooth. Then they will diagnose your situation and create a treatment program.