Oral ulceration is probably not because of penicillin allergy, sometimes viral infections can present similar to tonsillitis and after viral infection subsides people develop post viral apthous ulcers of the mouth. Usually they will resolve in few days. Only symptomatic analgesics are required
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required