soreness in stomach may be related directly or indirectly to the diabetes
it may be due to drugs also
u need to consult physician
small ,red ring look like candidial infection and very common in diabetes pt
u need to control ur sugar level
for that apply antifungal cream and take antifungal tab and antihistaminic tab.