It is recommended to take any medication only after consulting the doctor. Antibiotics shorten the time of spread of the disease, and also treat the infection. Penicillin is universally prescribed by doctors for strep throat. But, if the patient is allergic to it, other antibiotics, like, cephalexin, amoxicillin, erythromycin, etc., are prescribed.