Ceftriaxone injection is used to treat certain infections caused by bacteria . It works by stopping the growth of bacteria. Sulbactam is in a class of medications called beta-lactamase inhibitors. It works by preventing bacteria from destroying ampicillin. Antibiotics such as ampicillin and sulbactam injection will not work for colds, flu, or other viral infections.