No, Acyclovir is an antiviral medication and will only be used to treat viral infections. An antibiotic medication will be needed for treating bacterial infections.