Acyclovir is not an antibiotic and is not effective against bacterial infections. It is an antiviral medication that is effective against the herpes simplex virus, which includes cold sores, genital herpes, shingles and chickenpox.