Do antibiotics work on viruses or only bacteria?

Do antibiotics work on viruses or only bacteria?