Pain from braces

May one take pain killers on shabbos if one’s mouth is so sore from braces that eating solids is difficult?

Yes