The description you give sounds llike it may be: Cefdinir Oral or
OMNICEF 300MG CAPSULE
Which is used to treat a wide variety of bacterial infections. This medication is known as a cephalosporin antibiotic. It works by stopping the growth of bacteria.
This antibiotic treats only bacterial infections. It will not work for viral infections (e.g., common cold, flu). Unnecessary use or overuse of any antibiotic can lead to its decreased effectiveness.
However, I am not 100% on this so you may want to research further.
Good luck