Can antibiotics effectively treat viral infections or are they only helpful for bacterial infections?

Can antibiotics effectively treat viral infections or are they only helpful for bacterial infections?