From history it seems that you might be having glossitis
and as red sores are on the sides of tongue, this might due to traumatic bite perhaps due to sharp tooth causing trauma on the side of tongue.
go for short course of antibiotic.
Take vitamin B.complex and folic acid tablet
for few days.
Do antiseptic gargles.
Ok and take care.