It varies depending on the condition it is being used for and the location of the infection, and the bacteria involved.
Also the antibiotic
For some situations5 days is adequate, while for others, a month may be needed.
Remember, antibiotics should only be taken when necessary to fight bacterial infections
. They do not kill viruses!