In most cases, a doctor prescribes penicillin to treat tonsillitis. And if the patient is allergic to penicillin, they use an antibiotic.