What is the difference between antiviral medication and antibiotics?

Different bugs. Anti viral medications are only effective for specific viruses (we have far fewer of these). The remainder of the antibiotic classes are indicated for a range of bacteria. Antifungals are considered a type of antibiotic but (you guessed it) attack the cell walls of fungii. .