I use to take augmentin, and I am a pilot and I didn't fly with it.
HOWEVER, I took it for terrible sinus infections and I wouldn't fly with those either.
YOU will have to check with your local medical authority. Sometimes augmentin can make you sleepy. But you are not a cockpit crew.
And our rules are different in the US.
So, read the information provided by the pharmacist and if it says the meds may make you sleepy, I wouldn't fly. They can also upset the stomach. And you don't need that either.